@edihasaj/recall 0.8.11 → 0.8.12

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.
@@ -32,7 +32,7 @@ import {
32
32
  scanAndStore,
33
33
  sessionEndFallback,
34
34
  signalOutcomeFallback
35
- } from "./chunk-BUE2NYW7.js";
35
+ } from "./chunk-FIWV6K57.js";
36
36
  import {
37
37
  recordCompletionUseValueEventsSemantic
38
38
  } from "./chunk-33KM4YYX.js";
@@ -56,7 +56,7 @@ import {
56
56
  releaseTask,
57
57
  rollbackMemory,
58
58
  submitTask
59
- } from "./chunk-OBKXBR7R.js";
59
+ } from "./chunk-JPHSGWSI.js";
60
60
  import {
61
61
  confirmMemory,
62
62
  demoteGlobalMemory,
@@ -1197,4 +1197,4 @@ function createRecallMcpServer(db = initDb()) {
1197
1197
  export {
1198
1198
  createRecallMcpServer
1199
1199
  };
1200
- //# sourceMappingURL=chunk-FXBABQCO.js.map
1200
+ //# sourceMappingURL=chunk-6CSJD45G.js.map
@@ -13,7 +13,7 @@ import {
13
13
  recordAudit,
14
14
  redactSensitiveValue,
15
15
  seedScannedConfidence
16
- } from "./chunk-OBKXBR7R.js";
16
+ } from "./chunk-JPHSGWSI.js";
17
17
  import {
18
18
  activityEventDedupeKey,
19
19
  confirmMemory,
@@ -6500,4 +6500,4 @@ export {
6500
6500
  pruneMemories,
6501
6501
  formatPruneReport
6502
6502
  };
6503
- //# sourceMappingURL=chunk-BUE2NYW7.js.map
6503
+ //# sourceMappingURL=chunk-FIWV6K57.js.map
@@ -1177,10 +1177,35 @@ function wordOverlap(a, b) {
1177
1177
 
1178
1178
  // src/scanner/signal.ts
1179
1179
  var ACTIVE_COMMAND_PATTERNS = [
1180
- /^use\b/i,
1181
- /^makefile targets:/i
1180
+ /^use\b/i
1182
1181
  ];
1183
1182
  var PACKAGE_SCRIPT_PATTERN = /^(test|build|lint|dev|start|typecheck|check):\s*`.+`$/i;
1183
+ var MAKEFILE_TARGETS_PATTERN = /^makefile targets:/i;
1184
+ var GENERIC_MAKE_TARGETS = /* @__PURE__ */ new Set([
1185
+ "all",
1186
+ "bench",
1187
+ "build",
1188
+ "check",
1189
+ "ci",
1190
+ "clean",
1191
+ "coverage",
1192
+ "deploy",
1193
+ "dev",
1194
+ "dist",
1195
+ "docs",
1196
+ "fmt",
1197
+ "format",
1198
+ "help",
1199
+ "install",
1200
+ "lint",
1201
+ "release",
1202
+ "run",
1203
+ "setup",
1204
+ "start",
1205
+ "test",
1206
+ "tidy",
1207
+ "typecheck"
1208
+ ]);
1184
1209
  var CANDIDATE_GOTCHA_PATTERNS = [
1185
1210
  /^next\.js project$/i,
1186
1211
  /^react project\b/i,
@@ -1241,7 +1266,13 @@ function isGenericScannedToolingMemory(input) {
1241
1266
  if (input.source !== "config_parse") return false;
1242
1267
  const normalized = normalizeScannedText(input.text);
1243
1268
  const lower = normalized.toLowerCase();
1244
- return input.type === "command" && PACKAGE_SCRIPT_PATTERN.test(normalized) || lower.startsWith("linting/formatting:");
1269
+ return input.type === "command" && PACKAGE_SCRIPT_PATTERN.test(normalized) || isGenericMakefileTargets(normalized) || lower.startsWith("linting/formatting:");
1270
+ }
1271
+ function isGenericMakefileTargets(normalized) {
1272
+ if (!MAKEFILE_TARGETS_PATTERN.test(normalized)) return false;
1273
+ const targets = [...normalized.matchAll(/make\s+([a-z0-9][\w-]*)/gi)].map((m) => m[1].toLowerCase());
1274
+ if (targets.length === 0) return true;
1275
+ return targets.every((target) => GENERIC_MAKE_TARGETS.has(target));
1245
1276
  }
1246
1277
  function normalizeScannedText(text) {
1247
1278
  return text.replace(/\*\*/g, "").split("\n").map((line) => line.replace(/^[-*#>\s]+/, "").replace(/^\d+\.\s+/, "").trim()).filter(Boolean).join("\n").replace(/[ \t]+/g, " ").trim();
@@ -3825,4 +3856,4 @@ export {
3825
3856
  processCorrection,
3826
3857
  processReviewFeedback
3827
3858
  };
3828
- //# sourceMappingURL=chunk-OBKXBR7R.js.map
3859
+ //# sourceMappingURL=chunk-JPHSGWSI.js.map