agent-swarm-kit 1.0.94 → 1.0.95

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
@@ -7519,7 +7519,7 @@ var DocService = /** @class */ (function () {
7519
7519
  result.push("");
7520
7520
  callbackList = Object.keys(swarmSchema.callbacks);
7521
7521
  for (i = 0; i !== callbackList.length; i++) {
7522
- result.push("".concat(i + 1, ". ").concat(callbackList[i]));
7522
+ result.push("".concat(i + 1, ". `").concat(callbackList[i], "`"));
7523
7523
  }
7524
7524
  result.push("");
7525
7525
  }
@@ -7550,7 +7550,7 @@ var DocService = /** @class */ (function () {
7550
7550
  result.push("");
7551
7551
  }
7552
7552
  {
7553
- result.push("**Completion:** ".concat(agentSchema.completion));
7553
+ result.push("**Completion:** `".concat(agentSchema.completion, "`"));
7554
7554
  result.push("");
7555
7555
  }
7556
7556
  umlSchema = this.agentMetaService.toUML(agentSchema.agentName);
@@ -7611,36 +7611,36 @@ var DocService = /** @class */ (function () {
7611
7611
  result.push("");
7612
7612
  result.push("#### Name for model");
7613
7613
  result.push("");
7614
- result.push(fn.name);
7614
+ result.push("`".concat(fn.name, "`"));
7615
7615
  }
7616
7616
  if (fn.description) {
7617
7617
  result.push("");
7618
7618
  result.push("#### Description for model");
7619
7619
  result.push("");
7620
- result.push(fn.description);
7620
+ result.push("`".concat(fn.description, "`"));
7621
7621
  }
7622
7622
  if ((_c = fn.parameters) === null || _c === void 0 ? void 0 : _c.properties) {
7623
7623
  result.push("");
7624
7624
  result.push("#### Parameters for model");
7625
- Object.entries(fn.parameters.properties).forEach(function (_a) {
7625
+ Object.entries(fn.parameters.properties).forEach(function (_a, idx) {
7626
7626
  var _b = __read(_a, 2), key = _b[0], _c = _b[1], type = _c.type, description = _c.description, e = _c.enum;
7627
7627
  result.push("");
7628
- result.push(" - ".concat(key));
7628
+ result.push("##### ".concat(idx + 1, " ").concat(key));
7629
7629
  {
7630
7630
  result.push("");
7631
- result.push("**Type:** ".concat(type));
7631
+ result.push(" **Type:** ".concat(type));
7632
7632
  }
7633
7633
  {
7634
7634
  result.push("");
7635
- result.push("**Description:** ".concat(description));
7635
+ result.push(" **Description:** ".concat(description));
7636
7636
  }
7637
7637
  if (e) {
7638
7638
  result.push("");
7639
- result.push("**Enum:** ".concat(e.join(", ")));
7639
+ result.push(" **Enum:** ".concat(e.join(", ")));
7640
7640
  }
7641
7641
  {
7642
7642
  result.push("");
7643
- result.push("**Required:** [".concat(fn.parameters.required.includes(key) ? "x" : " ", "]"));
7643
+ result.push(" **Required:** [".concat(fn.parameters.required.includes(key) ? "x" : " ", "]"));
7644
7644
  }
7645
7645
  });
7646
7646
  }
@@ -7650,7 +7650,7 @@ var DocService = /** @class */ (function () {
7650
7650
  result.push("");
7651
7651
  var callbackList = Object.keys(callbacks);
7652
7652
  for (var i_3 = 0; i_3 !== callbackList.length; i_3++) {
7653
- result.push(" - ".concat(callbackList[i_3]));
7653
+ result.push("".concat(i_3 + 1, ". `").concat(callbackList[i_3], "`"));
7654
7654
  }
7655
7655
  }
7656
7656
  if (docNote) {
@@ -7683,7 +7683,7 @@ var DocService = /** @class */ (function () {
7683
7683
  }
7684
7684
  if (embedding) {
7685
7685
  result.push("");
7686
- result.push("**Embedding:** ".concat(embedding));
7686
+ result.push("**Embedding:** `".concat(embedding, "`"));
7687
7687
  }
7688
7688
  {
7689
7689
  result.push("");
@@ -7695,7 +7695,7 @@ var DocService = /** @class */ (function () {
7695
7695
  result.push("");
7696
7696
  callbackList = Object.keys(callbacks);
7697
7697
  for (i_1 = 0; i_1 !== callbackList.length; i_1++) {
7698
- result.push(" - ".concat(callbackList[i_1]));
7698
+ result.push("".concat(i_1 + 1, ". `").concat(callbackList[i_1], "`"));
7699
7699
  }
7700
7700
  }
7701
7701
  result.push("");
@@ -7726,7 +7726,7 @@ var DocService = /** @class */ (function () {
7726
7726
  result.push("");
7727
7727
  callbackList = Object.keys(callbacks);
7728
7728
  for (i_2 = 0; i_2 !== callbackList.length; i_2++) {
7729
- result.push(" - ".concat(callbackList[i_2]));
7729
+ result.push("".concat(i_2 + 1, ". `").concat(callbackList[i_2], "`"));
7730
7730
  }
7731
7731
  }
7732
7732
  result.push("");
@@ -7737,7 +7737,7 @@ var DocService = /** @class */ (function () {
7737
7737
  result.push("");
7738
7738
  callbackList = Object.keys(agentSchema.callbacks);
7739
7739
  for (i = 0; i !== callbackList.length; i++) {
7740
- result.push("".concat(i + 1, ". ").concat(callbackList[i]));
7740
+ result.push("".concat(i + 1, ". `").concat(callbackList[i], "`"));
7741
7741
  }
7742
7742
  result.push("");
7743
7743
  }
package/build/index.mjs CHANGED
@@ -7517,7 +7517,7 @@ var DocService = /** @class */ (function () {
7517
7517
  result.push("");
7518
7518
  callbackList = Object.keys(swarmSchema.callbacks);
7519
7519
  for (i = 0; i !== callbackList.length; i++) {
7520
- result.push("".concat(i + 1, ". ").concat(callbackList[i]));
7520
+ result.push("".concat(i + 1, ". `").concat(callbackList[i], "`"));
7521
7521
  }
7522
7522
  result.push("");
7523
7523
  }
@@ -7548,7 +7548,7 @@ var DocService = /** @class */ (function () {
7548
7548
  result.push("");
7549
7549
  }
7550
7550
  {
7551
- result.push("**Completion:** ".concat(agentSchema.completion));
7551
+ result.push("**Completion:** `".concat(agentSchema.completion, "`"));
7552
7552
  result.push("");
7553
7553
  }
7554
7554
  umlSchema = this.agentMetaService.toUML(agentSchema.agentName);
@@ -7609,36 +7609,36 @@ var DocService = /** @class */ (function () {
7609
7609
  result.push("");
7610
7610
  result.push("#### Name for model");
7611
7611
  result.push("");
7612
- result.push(fn.name);
7612
+ result.push("`".concat(fn.name, "`"));
7613
7613
  }
7614
7614
  if (fn.description) {
7615
7615
  result.push("");
7616
7616
  result.push("#### Description for model");
7617
7617
  result.push("");
7618
- result.push(fn.description);
7618
+ result.push("`".concat(fn.description, "`"));
7619
7619
  }
7620
7620
  if ((_c = fn.parameters) === null || _c === void 0 ? void 0 : _c.properties) {
7621
7621
  result.push("");
7622
7622
  result.push("#### Parameters for model");
7623
- Object.entries(fn.parameters.properties).forEach(function (_a) {
7623
+ Object.entries(fn.parameters.properties).forEach(function (_a, idx) {
7624
7624
  var _b = __read(_a, 2), key = _b[0], _c = _b[1], type = _c.type, description = _c.description, e = _c.enum;
7625
7625
  result.push("");
7626
- result.push(" - ".concat(key));
7626
+ result.push("##### ".concat(idx + 1, " ").concat(key));
7627
7627
  {
7628
7628
  result.push("");
7629
- result.push("**Type:** ".concat(type));
7629
+ result.push(" **Type:** ".concat(type));
7630
7630
  }
7631
7631
  {
7632
7632
  result.push("");
7633
- result.push("**Description:** ".concat(description));
7633
+ result.push(" **Description:** ".concat(description));
7634
7634
  }
7635
7635
  if (e) {
7636
7636
  result.push("");
7637
- result.push("**Enum:** ".concat(e.join(", ")));
7637
+ result.push(" **Enum:** ".concat(e.join(", ")));
7638
7638
  }
7639
7639
  {
7640
7640
  result.push("");
7641
- result.push("**Required:** [".concat(fn.parameters.required.includes(key) ? "x" : " ", "]"));
7641
+ result.push(" **Required:** [".concat(fn.parameters.required.includes(key) ? "x" : " ", "]"));
7642
7642
  }
7643
7643
  });
7644
7644
  }
@@ -7648,7 +7648,7 @@ var DocService = /** @class */ (function () {
7648
7648
  result.push("");
7649
7649
  var callbackList = Object.keys(callbacks);
7650
7650
  for (var i_3 = 0; i_3 !== callbackList.length; i_3++) {
7651
- result.push(" - ".concat(callbackList[i_3]));
7651
+ result.push("".concat(i_3 + 1, ". `").concat(callbackList[i_3], "`"));
7652
7652
  }
7653
7653
  }
7654
7654
  if (docNote) {
@@ -7681,7 +7681,7 @@ var DocService = /** @class */ (function () {
7681
7681
  }
7682
7682
  if (embedding) {
7683
7683
  result.push("");
7684
- result.push("**Embedding:** ".concat(embedding));
7684
+ result.push("**Embedding:** `".concat(embedding, "`"));
7685
7685
  }
7686
7686
  {
7687
7687
  result.push("");
@@ -7693,7 +7693,7 @@ var DocService = /** @class */ (function () {
7693
7693
  result.push("");
7694
7694
  callbackList = Object.keys(callbacks);
7695
7695
  for (i_1 = 0; i_1 !== callbackList.length; i_1++) {
7696
- result.push(" - ".concat(callbackList[i_1]));
7696
+ result.push("".concat(i_1 + 1, ". `").concat(callbackList[i_1], "`"));
7697
7697
  }
7698
7698
  }
7699
7699
  result.push("");
@@ -7724,7 +7724,7 @@ var DocService = /** @class */ (function () {
7724
7724
  result.push("");
7725
7725
  callbackList = Object.keys(callbacks);
7726
7726
  for (i_2 = 0; i_2 !== callbackList.length; i_2++) {
7727
- result.push(" - ".concat(callbackList[i_2]));
7727
+ result.push("".concat(i_2 + 1, ". `").concat(callbackList[i_2], "`"));
7728
7728
  }
7729
7729
  }
7730
7730
  result.push("");
@@ -7735,7 +7735,7 @@ var DocService = /** @class */ (function () {
7735
7735
  result.push("");
7736
7736
  callbackList = Object.keys(agentSchema.callbacks);
7737
7737
  for (i = 0; i !== callbackList.length; i++) {
7738
- result.push("".concat(i + 1, ". ").concat(callbackList[i]));
7738
+ result.push("".concat(i + 1, ". `").concat(callbackList[i], "`"));
7739
7739
  }
7740
7740
  result.push("");
7741
7741
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-swarm-kit",
3
- "version": "1.0.94",
3
+ "version": "1.0.95",
4
4
  "description": "A TypeScript library for building orchestrated framework-agnostic multi-agent AI systems",
5
5
  "author": {
6
6
  "name": "Petr Tripolsky",