agent-swarm-kit 1.1.149 → 1.1.151

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 CHANGED
@@ -19201,8 +19201,16 @@ dumpClientPerformance.runAfterExecute = beginContext(async (dirName = "./logs/cl
19201
19201
  * @returns {Promise<void>}
19202
19202
  */
19203
19203
  const dumpOutlineResult = beginContext(async (result, outputDir = "./dump/outline") => {
19204
- if (!result.isValid) {
19205
- return;
19204
+ {
19205
+ if (!result) {
19206
+ return;
19207
+ }
19208
+ if (result.isValid === false) {
19209
+ return;
19210
+ }
19211
+ if (!result.resultId) {
19212
+ return;
19213
+ }
19206
19214
  }
19207
19215
  // Extract system messages and system reminders from existing data
19208
19216
  const systemMessages = result.history.filter((m) => m.role === "system");
@@ -19220,7 +19228,6 @@ const dumpOutlineResult = beginContext(async (result, outputDir = "./dump/outlin
19220
19228
  {
19221
19229
  summary += `\n`;
19222
19230
  summary += `**ResultId**: ${result.resultId}\n`;
19223
- summary += `**Generation Date**: ${new Date().toISOString()}\n`;
19224
19231
  summary += `\n`;
19225
19232
  }
19226
19233
  if (result.param) {
package/build/index.mjs CHANGED
@@ -19181,8 +19181,16 @@ dumpClientPerformance.runAfterExecute = beginContext(async (dirName = "./logs/cl
19181
19181
  * @returns {Promise<void>}
19182
19182
  */
19183
19183
  const dumpOutlineResult = beginContext(async (result, outputDir = "./dump/outline") => {
19184
- if (!result.isValid) {
19185
- return;
19184
+ {
19185
+ if (!result) {
19186
+ return;
19187
+ }
19188
+ if (result.isValid === false) {
19189
+ return;
19190
+ }
19191
+ if (!result.resultId) {
19192
+ return;
19193
+ }
19186
19194
  }
19187
19195
  // Extract system messages and system reminders from existing data
19188
19196
  const systemMessages = result.history.filter((m) => m.role === "system");
@@ -19200,7 +19208,6 @@ const dumpOutlineResult = beginContext(async (result, outputDir = "./dump/outlin
19200
19208
  {
19201
19209
  summary += `\n`;
19202
19210
  summary += `**ResultId**: ${result.resultId}\n`;
19203
- summary += `**Generation Date**: ${new Date().toISOString()}\n`;
19204
19211
  summary += `\n`;
19205
19212
  }
19206
19213
  if (result.param) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-swarm-kit",
3
- "version": "1.1.149",
3
+ "version": "1.1.151",
4
4
  "description": "A TypeScript library for building orchestrated framework-agnostic multi-agent AI systems",
5
5
  "author": {
6
6
  "name": "Petr Tripolsky",