@devness/useai 0.6.21 → 0.6.22
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 +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -684,7 +684,7 @@ var VERSION;
|
|
|
684
684
|
var init_version = __esm({
|
|
685
685
|
"../shared/dist/constants/version.js"() {
|
|
686
686
|
"use strict";
|
|
687
|
-
VERSION = "0.6.
|
|
687
|
+
VERSION = "0.6.22";
|
|
688
688
|
}
|
|
689
689
|
});
|
|
690
690
|
|
|
@@ -35482,6 +35482,7 @@ function recoverEndSession(staleMcpSessionId, args, rpcId, res) {
|
|
|
35482
35482
|
const durationMinutes = Math.round(duration3 / 60);
|
|
35483
35483
|
const allMilestones = readJson(MILESTONES_FILE, []);
|
|
35484
35484
|
for (const m of milestonesInput) {
|
|
35485
|
+
if (!m.title || !m.category) continue;
|
|
35485
35486
|
allMilestones.push({
|
|
35486
35487
|
id: `m_${randomUUID4().slice(0, 8)}`,
|
|
35487
35488
|
session_id: useaiSessionId,
|
|
@@ -35556,6 +35557,7 @@ function recoverEndSession(staleMcpSessionId, args, rpcId, res) {
|
|
|
35556
35557
|
const durationMinutes = Math.round(duration3 / 60);
|
|
35557
35558
|
const allMilestones = readJson(MILESTONES_FILE, []);
|
|
35558
35559
|
for (const m of milestonesInput) {
|
|
35560
|
+
if (!m.title || !m.category) continue;
|
|
35559
35561
|
const mRecord = buildChainRecord("milestone", useaiSessionId, {
|
|
35560
35562
|
title: m.title,
|
|
35561
35563
|
private_title: m.private_title,
|