claude-mem-lite 6.8.2 → 6.9.0

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/utils.mjs CHANGED
@@ -9,37 +9,35 @@ import { buildLowSignalRegex } from './lib/low-signal-patterns.mjs';
9
9
  import { scrubSecrets as _scrubSecrets } from './secret-scrub.mjs';
10
10
 
11
11
  // ─── Re-exports from extracted modules ──────────────────────────────────────
12
- // Backward compatibility: all consumers import from utils.mjs
13
-
12
+ // Backward compatibility: consumers that predate the extraction import from utils.mjs.
13
+ //
14
+ // The barrel carries what in-tree code actually imports THROUGH it, and nothing else.
15
+ // "Backward compatible" here means compatible with this repo's own call sites: there is no
16
+ // `main`/`exports` in package.json, so nothing outside the tree can import this module, and
17
+ // a re-export with no importer is not a compatibility guarantee — it is a name knip has to
18
+ // keep reporting. Eleven were dropped 2026-09-14 after both knip (whose entry set includes
19
+ // tests, so a test-only consumer would have kept them) and a per-name import scan covering
20
+ // named, namespace, dynamic and re-export forms agreed nothing imports them from here.
21
+ // Each one is still exported by its own leaf module, where its real callers import it.
22
+ // Same disposal the `extractResponseFromError` docblock records for the same reason.
14
23
  export {
15
24
  DECAY_HALF_LIFE_BY_TYPE,
16
25
  DEFAULT_DECAY_HALF_LIFE_MS,
17
26
  OBS_BM25,
18
27
  SESS_BM25,
19
28
  EVT_BM25,
20
- TYPE_DECAY_CASE,
21
29
  TYPE_QUALITY_CASE,
22
30
  OBS_FTS_COLUMNS,
23
31
  notLowSignalTitleClause,
24
32
  noisePenaltyClause,
25
33
  } from './scoring-sql.mjs';
26
- export {
27
- cjkBigrams,
28
- extractCjkSynonymTokens,
29
- extractCjkLikePatterns,
30
- SYNONYM_MAP,
31
- expandToken,
32
- sanitizeFtsQuery,
33
- ftsQueryTokens,
34
- relaxFtsQueryToOr,
35
- FTS_STOP_WORDS,
36
- CJK_COMPOUNDS,
37
- } from './nlp.mjs';
38
- export { inferProject, resolveProject, _resetProjectCache } from './project-utils.mjs';
39
- export { scrubSecrets, SECRET_PATTERNS } from './secret-scrub.mjs';
34
+ export { cjkBigrams, sanitizeFtsQuery, ftsQueryTokens, relaxFtsQueryToOr } from './nlp.mjs';
35
+ export { inferProject } from './project-utils.mjs';
36
+ export { scrubSecrets } from './secret-scrub.mjs';
40
37
  export { stripPrivate } from './lib/private-strip.mjs';
41
38
  export {
42
39
  truncate,
40
+ queryLabel,
43
41
  typeIcon,
44
42
  fmtDate,
45
43
  fmtTime,
@@ -51,7 +49,6 @@ export { computeMinHash, estimateJaccardFromMinHash, jaccardSimilarity } from '.
51
49
  export {
52
50
  detectBashSignificance,
53
51
  extractErrorKeywords,
54
- planErrorRecall,
55
52
  extractFilePaths,
56
53
  stripTestSuffix,
57
54
  } from './bash-utils.mjs';