@clipform/mcp-server 2.2.0 → 2.2.1
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.
|
@@ -17041,6 +17041,15 @@ function formatDefaultConfig(defaultConfig) {
|
|
|
17041
17041
|
if (!defaultConfig) return "";
|
|
17042
17042
|
const filtered = { ...defaultConfig };
|
|
17043
17043
|
delete filtered.options;
|
|
17044
|
+
if (filtered.choice && typeof filtered.choice === "object" && "record_scores" in filtered.choice) {
|
|
17045
|
+
const choice = { ...filtered.choice };
|
|
17046
|
+
delete choice.record_scores;
|
|
17047
|
+
if (Object.keys(choice).length === 0) {
|
|
17048
|
+
delete filtered.choice;
|
|
17049
|
+
} else {
|
|
17050
|
+
filtered.choice = choice;
|
|
17051
|
+
}
|
|
17052
|
+
}
|
|
17044
17053
|
if (Object.keys(filtered).length === 0) return "";
|
|
17045
17054
|
return JSON.stringify(filtered);
|
|
17046
17055
|
}
|
|
@@ -17110,7 +17119,7 @@ function applyNodeDefaults(node) {
|
|
|
17110
17119
|
if (supportsRecordScores && hasScoredOptions) {
|
|
17111
17120
|
const config2 = node.config ??= {};
|
|
17112
17121
|
const choice = config2.choice ??= {};
|
|
17113
|
-
|
|
17122
|
+
choice.record_scores = true;
|
|
17114
17123
|
}
|
|
17115
17124
|
}
|
|
17116
17125
|
|
|
@@ -19968,4 +19977,4 @@ export {
|
|
|
19968
19977
|
RENDER_TIMING,
|
|
19969
19978
|
createServer
|
|
19970
19979
|
};
|
|
19971
|
-
//# sourceMappingURL=chunk-
|
|
19980
|
+
//# sourceMappingURL=chunk-ZGXMBGOB.js.map
|