@sellable/mcp 0.1.97 → 0.1.98
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/tools/flow-preflight.js +11 -1
- package/package.json +1 -1
|
@@ -56,6 +56,16 @@ export function markSenderEnrichmentObserved(input) {
|
|
|
56
56
|
return senderEnrichmentSnapshot;
|
|
57
57
|
}
|
|
58
58
|
export function markSenderResearchCompleted(input) {
|
|
59
|
+
const completedAt = new Date().toISOString();
|
|
60
|
+
if (!researchPromptStates.sender) {
|
|
61
|
+
const state = {
|
|
62
|
+
loadedAt: completedAt,
|
|
63
|
+
mode: "sender",
|
|
64
|
+
subskillName: "research-sender",
|
|
65
|
+
};
|
|
66
|
+
researchPromptStates.sender = state;
|
|
67
|
+
latestResearchPromptState = state;
|
|
68
|
+
}
|
|
59
69
|
const toNonNegativeInteger = (value) => {
|
|
60
70
|
if (typeof value !== "number" || Number.isNaN(value))
|
|
61
71
|
return 0;
|
|
@@ -64,7 +74,7 @@ export function markSenderResearchCompleted(input) {
|
|
|
64
74
|
return Math.max(0, Math.floor(value));
|
|
65
75
|
};
|
|
66
76
|
senderResearchCompletionState = {
|
|
67
|
-
completedAt
|
|
77
|
+
completedAt,
|
|
68
78
|
depth: input?.depth ?? "minimal-verification",
|
|
69
79
|
proofItemsFound: toNonNegativeInteger(input?.proofItemsFound),
|
|
70
80
|
caseStudyItemsFound: toNonNegativeInteger(input?.caseStudyItemsFound),
|