@exaudeus/memory-mcp 1.5.1 → 1.5.2
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/ephemeral.js +9 -2
- package/package.json +1 -1
package/dist/ephemeral.js
CHANGED
|
@@ -163,7 +163,7 @@ const SIGNALS = [
|
|
|
163
163
|
id: 'temporal',
|
|
164
164
|
label: 'Temporal language',
|
|
165
165
|
confidence: 'high',
|
|
166
|
-
test: (_title, content) => {
|
|
166
|
+
test: (_title, content, raw) => {
|
|
167
167
|
const patterns = [
|
|
168
168
|
/\bcurrently\b/, /\bright now\b/, /\bat the moment\b/,
|
|
169
169
|
/\bas of today\b/, /\bas of now\b/, /\btoday\b/,
|
|
@@ -175,6 +175,9 @@ const SIGNALS = [
|
|
|
175
175
|
/\bas things stand\b/, /\bgiven the current state\b/,
|
|
176
176
|
/\bstill (pending|waiting|blocked)\b/,
|
|
177
177
|
/\blast time (i|we) (ran|checked|tested)\b/,
|
|
178
|
+
// Explicit dates — "created (2026-03-08)", "as of 2024-11-15", "(written 2023-05-22)"
|
|
179
|
+
/\b(created|written|updated|generated|completed|done|finished)\s*\(?\s*\d{4}-\d{2}-\d{2}\b/,
|
|
180
|
+
/\bas of \d{4}-\d{2}-\d{2}\b/,
|
|
178
181
|
];
|
|
179
182
|
const m = firstMatch(content, patterns);
|
|
180
183
|
return m ? `contains "${m[0]}"` : undefined;
|
|
@@ -247,7 +250,7 @@ const SIGNALS = [
|
|
|
247
250
|
test: (title, content) => {
|
|
248
251
|
const titlePatterns = [
|
|
249
252
|
// "Documentation updates complete", "migration done", "task finished"
|
|
250
|
-
/\b(update|migration|refactor|implementation|task|feature|docs?|documentation|sync|work|changes?|setup)\s+(complete[d]?|done|finished?)\b/,
|
|
253
|
+
/\b(update|migration|refactor|implementation|task|feature|docs?|documentation|sync|work|changes?|setup|design|plan|spec|proposal)\s+(complete[d]?|done|finished?)\b/,
|
|
251
254
|
// "Complete: X" or "Done - X" as a status prefix in the title
|
|
252
255
|
/^(complete[d]?|done|finished?)\s*[-–—:]/,
|
|
253
256
|
];
|
|
@@ -284,6 +287,10 @@ const SIGNALS = [
|
|
|
284
287
|
/\b\d+\s+additions?,\s*\d+\s+deletions?\b/,
|
|
285
288
|
// Work quantity: "14 docs modified", "5 files changed"
|
|
286
289
|
/\b\d+\s+(docs?|files?|tests?|endpoints?|functions?|modules?|classes?|pages?)\s+(modified|changed|updated|added|created|deleted)\b/,
|
|
290
|
+
// Summary stats: "Total 3200 lines", "12-15 new files", "13 edited"
|
|
291
|
+
/\btotal\s+\d+(-\d+)?\s+(lines?|files?|docs?|tests?|functions?)\b/,
|
|
292
|
+
/\b\d+(-\d+)?\s+new\s+(files?|docs?|tests?)\b/,
|
|
293
|
+
/\b\d+\s+edited\b/,
|
|
287
294
|
];
|
|
288
295
|
const m = firstMatch(content, patterns);
|
|
289
296
|
return m ? `"${m[0]}" — quantitative work metrics are session activity, not lasting knowledge` : undefined;
|