agent-swarm-kit 1.0.89 → 1.0.90

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
@@ -7216,8 +7216,8 @@ var BusService = /** @class */ (function () {
7216
7216
 
7217
7217
  var MAX_NESTING = 10;
7218
7218
  var UML_STEP = "\t";
7219
- var UML_BULLET = "";
7220
- var UML_TRIANGLE = "";
7219
+ var UML_BULLET = "[*]";
7220
+ var UML_TRIANGLE = "[>]";
7221
7221
  /**
7222
7222
  * Creates a function to serialize meta nodes to UML format.
7223
7223
  * @returns {Function} A function that takes an array of IMetaNode and returns a string in UML format.
@@ -7387,10 +7387,10 @@ var SwarmMetaService = /** @class */ (function () {
7387
7387
  _this.loggerService.info("swarmMetaService makeSwarmNode", {
7388
7388
  swarmName: swarmName,
7389
7389
  });
7390
- var agentList = _this.swarmSchemaService.get(swarmName).agentList;
7390
+ var defaultAgent = _this.swarmSchemaService.get(swarmName).defaultAgent;
7391
7391
  return {
7392
7392
  name: swarmName,
7393
- child: agentList.map(function (dep) { return _this.agentMetaService.makeAgentNodeCommon(dep); }),
7393
+ child: [_this.agentMetaService.makeAgentNodeCommon(defaultAgent)],
7394
7394
  };
7395
7395
  };
7396
7396
  /**
package/build/index.mjs CHANGED
@@ -7214,8 +7214,8 @@ var BusService = /** @class */ (function () {
7214
7214
 
7215
7215
  var MAX_NESTING = 10;
7216
7216
  var UML_STEP = "\t";
7217
- var UML_BULLET = "";
7218
- var UML_TRIANGLE = "";
7217
+ var UML_BULLET = "[*]";
7218
+ var UML_TRIANGLE = "[>]";
7219
7219
  /**
7220
7220
  * Creates a function to serialize meta nodes to UML format.
7221
7221
  * @returns {Function} A function that takes an array of IMetaNode and returns a string in UML format.
@@ -7385,10 +7385,10 @@ var SwarmMetaService = /** @class */ (function () {
7385
7385
  _this.loggerService.info("swarmMetaService makeSwarmNode", {
7386
7386
  swarmName: swarmName,
7387
7387
  });
7388
- var agentList = _this.swarmSchemaService.get(swarmName).agentList;
7388
+ var defaultAgent = _this.swarmSchemaService.get(swarmName).defaultAgent;
7389
7389
  return {
7390
7390
  name: swarmName,
7391
- child: agentList.map(function (dep) { return _this.agentMetaService.makeAgentNodeCommon(dep); }),
7391
+ child: [_this.agentMetaService.makeAgentNodeCommon(defaultAgent)],
7392
7392
  };
7393
7393
  };
7394
7394
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-swarm-kit",
3
- "version": "1.0.89",
3
+ "version": "1.0.90",
4
4
  "description": "A TypeScript library for building orchestrated framework-agnostic multi-agent AI systems",
5
5
  "author": {
6
6
  "name": "Petr Tripolsky",