claude-memory-layer 2.4.5 → 2.4.6

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/dist/index.js CHANGED
@@ -4030,7 +4030,7 @@ function emptyLatencyAggregate() {
4030
4030
  return { count: 0, failedCount: 0, totalMs: 0, maxMs: 0 };
4031
4031
  }
4032
4032
  function runtimeVersion() {
4033
- const value = "2.4.5"?.trim();
4033
+ const value = "2.4.6"?.trim();
4034
4034
  return sanitizeRuntimeVersion(value || "development");
4035
4035
  }
4036
4036
  function sanitizeRuntimeVersion(value) {
package/dist/mcp/index.js CHANGED
@@ -11846,7 +11846,7 @@ function emptyLatencyAggregate() {
11846
11846
  return { count: 0, failedCount: 0, totalMs: 0, maxMs: 0 };
11847
11847
  }
11848
11848
  function runtimeVersion() {
11849
- const value = "2.4.5"?.trim();
11849
+ const value = "2.4.6"?.trim();
11850
11850
  return sanitizeRuntimeVersion(value || "development");
11851
11851
  }
11852
11852
  function sanitizeRuntimeVersion(value) {
@@ -36230,7 +36230,7 @@ function scoreLessonEvidence(query, lesson) {
36230
36230
  const queryTerms = lessonTerms(query);
36231
36231
  const contentTerms = new Set(lessonTerms(content));
36232
36232
  const overlap = queryTerms.filter((term) => contentTerms.has(term)).length;
36233
- if (!exactSubject && overlap < Math.min(3, queryTerms.length)) return null;
36233
+ if (!exactSubject && (queryTerms.length === 0 || overlap < Math.min(3, queryTerms.length))) return null;
36234
36234
  const coverage = exactSubject ? 1 : overlap / Math.max(1, Math.min(queryTerms.length, 8));
36235
36235
  const anchors = identifierAnchors(query);
36236
36236
  const lowered = content.toLowerCase();
@@ -38395,7 +38395,7 @@ async function recordMcpExplicitSearchTrace(memoryService, input) {
38395
38395
  triggerType: "explicit_search",
38396
38396
  deliveryClient: "mcp",
38397
38397
  requestId: input.requestId,
38398
- runtimeVersion: "2.4.5",
38398
+ runtimeVersion: "2.4.6",
38399
38399
  outcomeDiagnostics: input.diagnostics
38400
38400
  });
38401
38401
  } catch {
@@ -38424,7 +38424,7 @@ async function recordMcpContextPackTrace(memoryService, input) {
38424
38424
  // Identifies the MCP client's request so its coverage is measurable and a
38425
38425
  // duplicate trace for the same request collapses (specs R2).
38426
38426
  requestId: input.requestId,
38427
- runtimeVersion: "2.4.5",
38427
+ runtimeVersion: "2.4.6",
38428
38428
  triggerType: "context_pack",
38429
38429
  deliveryClient: "mcp",
38430
38430
  outcomeDiagnostics: input.diagnostics
@@ -40965,7 +40965,7 @@ function createMcpProcessLifecycle(options) {
40965
40965
  var server = new Server(
40966
40966
  {
40967
40967
  name: "claude-memory-layer-mcp",
40968
- version: "2.4.5"
40968
+ version: "2.4.6"
40969
40969
  },
40970
40970
  {
40971
40971
  capabilities: {