blun-king-cli 9.1.579 → 9.1.580
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## 9.1.580 - 2026-09-08
|
|
2
|
+
|
|
3
|
+
- Research collections reject impossible calendar dates and unparseable date-time
|
|
4
|
+
suffixes in optional historical source metadata before saving a new report.
|
|
5
|
+
- Recall skips legacy snapshots containing invalid source dates and reports a
|
|
6
|
+
diagnostic without rewriting or deleting them. Separate valid snapshots remain
|
|
7
|
+
searchable; valid date strings keep their original offset and precision.
|
|
8
|
+
- Includes the 9.1.579 research ordering and earlier Telegram repairs unchanged.
|
|
9
|
+
This release does not change model latency or incoming message addressing.
|
|
10
|
+
|
|
1
11
|
## 9.1.579 - Research capture ordering
|
|
2
12
|
|
|
3
13
|
- Saved research passages with equal relevance are ordered by their actual UTC retrieval time, including mixed second and millisecond timestamp formats.
|
package/package.json
CHANGED
|
@@ -79,8 +79,12 @@ function normalizeReport(report) {
|
|
|
79
79
|
passages++;
|
|
80
80
|
return { startOffset: entry.startOffset, endOffset: entry.endOffset, text: entry.text, textSha256: entry.textSha256 };
|
|
81
81
|
});
|
|
82
|
+
// Check the written calendar day, not the UTC day shifted by a time-zone offset.
|
|
82
83
|
ensure(source.sourceDate === undefined || source.sourceDate === null
|
|
83
|
-
|| typeof source.sourceDate === 'string' && /^\d{4}-\d{2}-\d{2}(?:T[^\s]{1,40})?$/.test(source.sourceDate)
|
|
84
|
+
|| typeof source.sourceDate === 'string' && /^\d{4}-\d{2}-\d{2}(?:T[^\s]{1,40})?$/.test(source.sourceDate)
|
|
85
|
+
&& Number.isFinite(Date.parse(source.sourceDate))
|
|
86
|
+
&& new Date(source.sourceDate.slice(0, 10) + 'T00:00:00Z').toISOString().slice(0, 10)
|
|
87
|
+
=== source.sourceDate.slice(0, 10), 'report-source-date');
|
|
84
88
|
return { id: source.id, url: source.url, retrievedAt: source.retrievedAt,
|
|
85
89
|
sourceDate: source.sourceDate || null, contentSha256: source.contentSha256, status: source.status,
|
|
86
90
|
totalChars: entries.length ? source.totalChars : null, passages: normalized };
|