@edihasaj/recall 0.9.6 → 0.9.8

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 (46) hide show
  1. package/README.md +24 -0
  2. package/dist/{chunk-BZF6TLQ3.js → chunk-4PK3YODK.js} +2 -2
  3. package/dist/{chunk-LLIYJ6CD.js → chunk-DUTMCVI6.js} +4 -4
  4. package/dist/{chunk-KDQYI5UT.js → chunk-GJKKJYFT.js} +3 -3
  5. package/dist/{chunk-G2OSUUTC.js → chunk-MZWZKD5S.js} +3 -3
  6. package/dist/{chunk-UDMQCRTL.js → chunk-O3E7BFYL.js} +20 -5
  7. package/dist/{chunk-UDMQCRTL.js.map → chunk-O3E7BFYL.js.map} +1 -1
  8. package/dist/{chunk-BMZ2NRLH.js → chunk-PFQSIYBM.js} +7 -7
  9. package/dist/{chunk-NMFI3TIF.js → chunk-PI6SYBQR.js} +6 -6
  10. package/dist/{chunk-QEYL4ZNZ.js → chunk-Q45VSX2J.js} +2 -2
  11. package/dist/{chunk-LXJWMIBR.js → chunk-U6FQSWUL.js} +2 -2
  12. package/dist/{chunk-IWKO72WH.js → chunk-WZWXYBP6.js} +16 -1
  13. package/dist/chunk-WZWXYBP6.js.map +1 -0
  14. package/dist/{cleanup-QIYS3OCH.js → cleanup-E7TX5RAW.js} +5 -5
  15. package/dist/cli.js +466 -63
  16. package/dist/cli.js.map +1 -1
  17. package/dist/daemon.js +10 -10
  18. package/dist/{dispatcher-VRR44JFE.js → dispatcher-CWKRKVT4.js} +5 -5
  19. package/dist/{embeddings-FEYQRSRV.js → embeddings-ER6YQSRM.js} +3 -3
  20. package/dist/{ingest-N6XSNRQH.js → ingest-S2KB2EY6.js} +4 -4
  21. package/dist/{keychain-PA25RZXE.js → keychain-5KXUHKMF.js} +4 -2
  22. package/dist/mcp.js +8 -8
  23. package/dist/{memory-value-X76RRECS.js → memory-value-NM24LKJY.js} +5 -5
  24. package/dist/{quality-5TZ3B4LR.js → quality-74KRD5CP.js} +6 -6
  25. package/dist/retrieval-E5LOMDYJ.js +13 -0
  26. package/dist/{tasks-UEJORN2X.js → tasks-Y6HOLQTQ.js} +5 -5
  27. package/package.json +1 -1
  28. package/dist/chunk-IWKO72WH.js.map +0 -1
  29. package/dist/retrieval-IRYNANIM.js +0 -13
  30. /package/dist/{chunk-BZF6TLQ3.js.map → chunk-4PK3YODK.js.map} +0 -0
  31. /package/dist/{chunk-LLIYJ6CD.js.map → chunk-DUTMCVI6.js.map} +0 -0
  32. /package/dist/{chunk-KDQYI5UT.js.map → chunk-GJKKJYFT.js.map} +0 -0
  33. /package/dist/{chunk-G2OSUUTC.js.map → chunk-MZWZKD5S.js.map} +0 -0
  34. /package/dist/{chunk-BMZ2NRLH.js.map → chunk-PFQSIYBM.js.map} +0 -0
  35. /package/dist/{chunk-NMFI3TIF.js.map → chunk-PI6SYBQR.js.map} +0 -0
  36. /package/dist/{chunk-QEYL4ZNZ.js.map → chunk-Q45VSX2J.js.map} +0 -0
  37. /package/dist/{chunk-LXJWMIBR.js.map → chunk-U6FQSWUL.js.map} +0 -0
  38. /package/dist/{cleanup-QIYS3OCH.js.map → cleanup-E7TX5RAW.js.map} +0 -0
  39. /package/dist/{dispatcher-VRR44JFE.js.map → dispatcher-CWKRKVT4.js.map} +0 -0
  40. /package/dist/{embeddings-FEYQRSRV.js.map → embeddings-ER6YQSRM.js.map} +0 -0
  41. /package/dist/{ingest-N6XSNRQH.js.map → ingest-S2KB2EY6.js.map} +0 -0
  42. /package/dist/{keychain-PA25RZXE.js.map → keychain-5KXUHKMF.js.map} +0 -0
  43. /package/dist/{memory-value-X76RRECS.js.map → memory-value-NM24LKJY.js.map} +0 -0
  44. /package/dist/{quality-5TZ3B4LR.js.map → quality-74KRD5CP.js.map} +0 -0
  45. /package/dist/{retrieval-IRYNANIM.js.map → retrieval-E5LOMDYJ.js.map} +0 -0
  46. /package/dist/{tasks-UEJORN2X.js.map → tasks-Y6HOLQTQ.js.map} +0 -0
package/README.md CHANGED
@@ -9,6 +9,7 @@ Cross-tool coding memory + instruction compiler.
9
9
  Recall is a local repo-memory compiler for coding agents. It learns from corrections, review feedback, repo scans, and session outcomes, then injects compact trusted instructions through CLI, MCP, daemon endpoints, and lifecycle hooks.
10
10
 
11
11
  - Website: <https://recallmemory.dev/>
12
+ - Recall Cloud login: <https://app.recallmemory.dev/login>
12
13
  - Releases: <https://github.com/edihasaj/recall/releases>
13
14
  - Contributing: [CONTRIBUTING.md](CONTRIBUTING.md)
14
15
  - Comparison vs other memory systems: [`benchmark/COMPARISON.md`](benchmark/COMPARISON.md)
@@ -166,6 +167,29 @@ Install + setup behavior:
166
167
  - `recall doctor` checks install state; `recall doctor --fix` or `recall setup --yes` wires MCP + hooks for supported agent runtimes.
167
168
  - Repo-local `.recall/context.md` is an optional export/fallback, not the primary integration.
168
169
 
170
+ ### Permanently erase local data
171
+
172
+ Preview every local item Recall will remove:
173
+
174
+ ```bash
175
+ recall data purge --dry-run
176
+ ```
177
+
178
+ Then permanently erase it:
179
+
180
+ ```bash
181
+ recall data purge --yes
182
+ ```
183
+
184
+ The purge removes the entire Recall data directory, including the database,
185
+ WAL files, backups, logs, caches, local models, and sync state. It also removes
186
+ Recall-managed Keychain credentials, generated `.recall/context.md` exports,
187
+ the daemon service, agent hooks and rules, and Recall MCP registrations. The
188
+ Recall executable or app remains installed. The command is safe to rerun and
189
+ supports `--json` for automation. Use `--keep-integrations` only when you want
190
+ hooks and MCP wiring to remain and recreate a clean local store on next use.
191
+ Environment variables and user-authored files are never rewritten.
192
+
169
193
  ## First Run
170
194
 
171
195
  Initialize DB:
@@ -2,7 +2,7 @@ import {
2
2
  CONFIDENCE,
3
3
  PROMOTION,
4
4
  queueMemoryEmbeddingSync
5
- } from "./chunk-LXJWMIBR.js";
5
+ } from "./chunk-U6FQSWUL.js";
6
6
  import {
7
7
  isPlausibleEntityName,
8
8
  linkMemoryToEntity,
@@ -810,4 +810,4 @@ export {
810
810
  getMemoryFeedbackSummaries,
811
811
  feedbackWeightedScore
812
812
  };
813
- //# sourceMappingURL=chunk-BZF6TLQ3.js.map
813
+ //# sourceMappingURL=chunk-4PK3YODK.js.map
@@ -20,7 +20,7 @@ import {
20
20
  promoteMemory,
21
21
  queryMemories,
22
22
  updateMemoryCaptureContext
23
- } from "./chunk-BZF6TLQ3.js";
23
+ } from "./chunk-4PK3YODK.js";
24
24
  import {
25
25
  CONFIDENCE,
26
26
  LlmCredentialError,
@@ -30,11 +30,11 @@ import {
30
30
  findSimilarRejectedExemplar,
31
31
  loadEmbeddingConfigFromEnv,
32
32
  queueMemoryEmbeddingSync
33
- } from "./chunk-LXJWMIBR.js";
33
+ } from "./chunk-U6FQSWUL.js";
34
34
  import {
35
35
  hasProviderConfigured,
36
36
  init_keychain
37
- } from "./chunk-IWKO72WH.js";
37
+ } from "./chunk-WZWXYBP6.js";
38
38
  import {
39
39
  activityEvents,
40
40
  and,
@@ -3967,4 +3967,4 @@ export {
3967
3967
  processCorrection,
3968
3968
  processReviewFeedback
3969
3969
  };
3970
- //# sourceMappingURL=chunk-LLIYJ6CD.js.map
3970
+ //# sourceMappingURL=chunk-DUTMCVI6.js.map
@@ -9,13 +9,13 @@ import {
9
9
  getMemory,
10
10
  promoteMemory,
11
11
  queryMemories
12
- } from "./chunk-BZF6TLQ3.js";
12
+ } from "./chunk-4PK3YODK.js";
13
13
  import {
14
14
  cosineSimilarity,
15
15
  generateEmbedding,
16
16
  loadEmbedding,
17
17
  loadEmbeddingConfigFromEnv
18
- } from "./chunk-LXJWMIBR.js";
18
+ } from "./chunk-U6FQSWUL.js";
19
19
  import {
20
20
  and,
21
21
  eq,
@@ -612,4 +612,4 @@ export {
612
612
  detectAndRecordRetrievalMissesSemantic,
613
613
  computeMemoryValueReport
614
614
  };
615
- //# sourceMappingURL=chunk-KDQYI5UT.js.map
615
+ //# sourceMappingURL=chunk-GJKKJYFT.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getMemory
3
- } from "./chunk-BZF6TLQ3.js";
3
+ } from "./chunk-4PK3YODK.js";
4
4
  import {
5
5
  hybridSearch,
6
6
  searchMemoryFtsIndex
7
- } from "./chunk-LXJWMIBR.js";
7
+ } from "./chunk-U6FQSWUL.js";
8
8
  import {
9
9
  listEntitiesForMemory,
10
10
  listMemoryIdsForEntity,
@@ -120,4 +120,4 @@ async function graphQuery(db, query, embeddingConfig, options = {}) {
120
120
  export {
121
121
  graphQuery
122
122
  };
123
- //# sourceMappingURL=chunk-G2OSUUTC.js.map
123
+ //# sourceMappingURL=chunk-MZWZKD5S.js.map
@@ -6,13 +6,13 @@ import {
6
6
  recordAudit,
7
7
  redactSensitiveValue,
8
8
  seedScannedConfidence
9
- } from "./chunk-LLIYJ6CD.js";
9
+ } from "./chunk-DUTMCVI6.js";
10
10
  import {
11
11
  recordInjectionValueEvents,
12
12
  recordMemoryInjections,
13
13
  recordOutcomeValueEvent,
14
14
  resolveMemoryInjectionOutcome
15
- } from "./chunk-KDQYI5UT.js";
15
+ } from "./chunk-GJKKJYFT.js";
16
16
  import {
17
17
  textMatchScore
18
18
  } from "./chunk-FHEH6QDU.js";
@@ -34,7 +34,7 @@ import {
34
34
  recordFeedback,
35
35
  rejectMemory,
36
36
  statusFromConfidence
37
- } from "./chunk-BZF6TLQ3.js";
37
+ } from "./chunk-4PK3YODK.js";
38
38
  import {
39
39
  CONFIDENCE,
40
40
  RetrievalEvalCase,
@@ -52,7 +52,7 @@ import {
52
52
  readUtf8FileIfExists,
53
53
  resolveProvider,
54
54
  tagActivitySource
55
- } from "./chunk-LXJWMIBR.js";
55
+ } from "./chunk-U6FQSWUL.js";
56
56
  import {
57
57
  Column,
58
58
  Columns,
@@ -4216,6 +4216,18 @@ function inferRepoSlugFromPath(repoPath) {
4216
4216
  return parts.at(-1) ?? null;
4217
4217
  }
4218
4218
  }
4219
+ function discoverLocalRepos(searchRoots) {
4220
+ const seen = /* @__PURE__ */ new Set();
4221
+ const repos = [];
4222
+ for (const repoPath of collectCandidateRepos(searchRoots ?? getDefaultSearchRoots())) {
4223
+ const repo = inferRepoSlugFromPath(repoPath);
4224
+ const key = `${repo ?? "-"}::${repoPath}`;
4225
+ if (seen.has(key)) continue;
4226
+ seen.add(key);
4227
+ repos.push({ repo, repo_path: repoPath });
4228
+ }
4229
+ return repos;
4230
+ }
4219
4231
  function extractRepoSlugFromRemote2(remote) {
4220
4232
  const trimmed = remote.trim().replace(/\.git$/, "");
4221
4233
  const parts = trimmed.split(/[:/]/).filter(Boolean);
@@ -6479,6 +6491,7 @@ export {
6479
6491
  RECALL_DB_USER_VERSION,
6480
6492
  getDbPath,
6481
6493
  initDb,
6494
+ closeDb,
6482
6495
  getDbUserVersion,
6483
6496
  resetDb,
6484
6497
  createActivityEvent,
@@ -6487,6 +6500,7 @@ export {
6487
6500
  scanAndStore,
6488
6501
  ensureRepoBootstrapped,
6489
6502
  inferRepoSlugFromPath,
6503
+ discoverLocalRepos,
6490
6504
  listInjectedHistoryIdsForSession,
6491
6505
  createHistorySnippet,
6492
6506
  listHistorySnippets,
@@ -6504,6 +6518,7 @@ export {
6504
6518
  exportMarkdown,
6505
6519
  exportClaude,
6506
6520
  exportCodex,
6521
+ getRepoContextArtifactPath,
6507
6522
  writeRepoContextArtifact,
6508
6523
  startSessionLifecycle,
6509
6524
  recordSessionLifecycleEvent,
@@ -6535,4 +6550,4 @@ export {
6535
6550
  pruneMemories,
6536
6551
  formatPruneReport
6537
6552
  };
6538
- //# sourceMappingURL=chunk-UDMQCRTL.js.map
6553
+ //# sourceMappingURL=chunk-O3E7BFYL.js.map