agent-swarm-kit 1.0.41 → 1.0.42
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/build/index.cjs +4 -1
- package/build/index.mjs +4 -1
- package/package.json +1 -1
package/build/index.cjs
CHANGED
|
@@ -356,7 +356,10 @@ var validateDefault = function (output) { return __awaiter(void 0, void 0, void
|
|
|
356
356
|
}); };
|
|
357
357
|
|
|
358
358
|
var removeXmlTags = function (input) {
|
|
359
|
-
return input
|
|
359
|
+
return input
|
|
360
|
+
.replace(/<[^>]+>[\s\S]*?<\/[^>]+>/g, '')
|
|
361
|
+
.replace(/\n\s*\n/g, '\n')
|
|
362
|
+
.trim();
|
|
360
363
|
};
|
|
361
364
|
|
|
362
365
|
/**
|
package/build/index.mjs
CHANGED
|
@@ -354,7 +354,10 @@ var validateDefault = function (output) { return __awaiter(void 0, void 0, void
|
|
|
354
354
|
}); };
|
|
355
355
|
|
|
356
356
|
var removeXmlTags = function (input) {
|
|
357
|
-
return input
|
|
357
|
+
return input
|
|
358
|
+
.replace(/<[^>]+>[\s\S]*?<\/[^>]+>/g, '')
|
|
359
|
+
.replace(/\n\s*\n/g, '\n')
|
|
360
|
+
.trim();
|
|
358
361
|
};
|
|
359
362
|
|
|
360
363
|
/**
|