agent-swarm-kit 1.1.152 → 1.1.154

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
@@ -19263,7 +19263,7 @@ const dumpOutlineResult = beginContext(async (result, outputDir = "./dump/outlin
19263
19263
  {
19264
19264
  const messageSizeBytes = Buffer.byteLength(message.content, "utf8");
19265
19265
  const messageSizeKb = Math.floor(messageSizeBytes / 1024);
19266
- if (messageSizeBytes > WARN_KB) {
19266
+ if (messageSizeKb > WARN_KB) {
19267
19267
  console.warn(`User message ${idx + 1} is ${messageSizeBytes} bytes (${messageSizeKb}kb), which exceeds warning limit`);
19268
19268
  }
19269
19269
  }
package/build/index.mjs CHANGED
@@ -19243,7 +19243,7 @@ const dumpOutlineResult = beginContext(async (result, outputDir = "./dump/outlin
19243
19243
  {
19244
19244
  const messageSizeBytes = Buffer.byteLength(message.content, "utf8");
19245
19245
  const messageSizeKb = Math.floor(messageSizeBytes / 1024);
19246
- if (messageSizeBytes > WARN_KB) {
19246
+ if (messageSizeKb > WARN_KB) {
19247
19247
  console.warn(`User message ${idx + 1} is ${messageSizeBytes} bytes (${messageSizeKb}kb), which exceeds warning limit`);
19248
19248
  }
19249
19249
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-swarm-kit",
3
- "version": "1.1.152",
3
+ "version": "1.1.154",
4
4
  "description": "A TypeScript library for building orchestrated framework-agnostic multi-agent AI systems",
5
5
  "author": {
6
6
  "name": "Petr Tripolsky",
@@ -81,7 +81,7 @@
81
81
  "dependencies": {
82
82
  "di-kit": "^1.0.18",
83
83
  "di-scoped": "^1.0.20",
84
- "functools-kit": "^1.0.90",
84
+ "functools-kit": "^1.0.91",
85
85
  "get-moment-stamp": "^1.1.1",
86
86
  "lodash-es": "4.17.21",
87
87
  "xml2js": "0.6.2"