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/cli/index.js +2 -2
- package/dist/core/index.js +1 -1
- package/dist/hooks/codex-session-import-worker.js +1 -1
- package/dist/hooks/codex-session-start.js +4 -4
- package/dist/hooks/codex-session-start.js.map +2 -2
- package/dist/hooks/codex-user-prompt-submit.js +3 -3
- package/dist/hooks/codex-user-prompt-submit.js.map +2 -2
- package/dist/hooks/post-tool-use.js +1 -1
- package/dist/hooks/semantic-daemon.js +1 -1
- package/dist/hooks/session-end.js +1 -1
- package/dist/hooks/session-start.js +4 -4
- package/dist/hooks/session-start.js.map +2 -2
- package/dist/hooks/stop.js +1 -1
- package/dist/hooks/user-prompt-submit.js +3 -3
- package/dist/hooks/user-prompt-submit.js.map +2 -2
- package/dist/index.js +1 -1
- package/dist/mcp/index.js +5 -5
- package/dist/mcp/index.js.map +2 -2
- package/dist/server/api/index.js +1 -1
- package/dist/server/index.js +1 -1
- package/dist/services/lesson-host-service.js +2 -2
- package/dist/services/lesson-host-service.js.map +2 -2
- package/dist/services/memory-service.js +1 -1
- package/package.json +1 -1
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
40968
|
+
version: "2.4.6"
|
|
40969
40969
|
},
|
|
40970
40970
|
{
|
|
40971
40971
|
capabilities: {
|