agent-swarm-kit 1.0.54 → 1.0.55
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 +7 -0
- package/build/index.mjs +7 -0
- package/package.json +1 -1
package/build/index.cjs
CHANGED
|
@@ -3253,6 +3253,7 @@ var AgentValidationService = /** @class */ (function () {
|
|
|
3253
3253
|
}
|
|
3254
3254
|
_this.storageValidationService.validate(storageName, source);
|
|
3255
3255
|
});
|
|
3256
|
+
return {};
|
|
3256
3257
|
});
|
|
3257
3258
|
}
|
|
3258
3259
|
return AgentValidationService;
|
|
@@ -3297,6 +3298,7 @@ var CompletionValidationService = /** @class */ (function () {
|
|
|
3297
3298
|
if (!_this._completionSet.has(completionName)) {
|
|
3298
3299
|
throw new Error("agent-swarm completion ".concat(completionName, " not found source=").concat(source));
|
|
3299
3300
|
}
|
|
3301
|
+
return {};
|
|
3300
3302
|
});
|
|
3301
3303
|
}
|
|
3302
3304
|
return CompletionValidationService;
|
|
@@ -3502,6 +3504,7 @@ var SessionValidationService = /** @class */ (function () {
|
|
|
3502
3504
|
if (!_this._sessionSwarmMap.has(clientId)) {
|
|
3503
3505
|
throw new Error("agent-swarm session clientId=".concat(clientId, " not exist source=").concat(source));
|
|
3504
3506
|
}
|
|
3507
|
+
return {};
|
|
3505
3508
|
};
|
|
3506
3509
|
/**
|
|
3507
3510
|
* Removes a session.
|
|
@@ -3583,6 +3586,7 @@ var SwarmValidationService = /** @class */ (function () {
|
|
|
3583
3586
|
swarm.agentList.forEach(function (agentName) {
|
|
3584
3587
|
return _this.agentValidationService.validate(agentName, source);
|
|
3585
3588
|
});
|
|
3589
|
+
return {};
|
|
3586
3590
|
});
|
|
3587
3591
|
}
|
|
3588
3592
|
return SwarmValidationService;
|
|
@@ -3629,6 +3633,7 @@ var ToolValidationService = /** @class */ (function () {
|
|
|
3629
3633
|
if (!_this._toolMap.has(toolName)) {
|
|
3630
3634
|
throw new Error("agent-swarm tool ".concat(toolName, " not found source=").concat(source));
|
|
3631
3635
|
}
|
|
3636
|
+
return {};
|
|
3632
3637
|
});
|
|
3633
3638
|
}
|
|
3634
3639
|
return ToolValidationService;
|
|
@@ -4354,6 +4359,7 @@ var StorageValidationService = /** @class */ (function () {
|
|
|
4354
4359
|
throw new Error("storage-swarm storage ".concat(storageName, " not found source=").concat(source));
|
|
4355
4360
|
}
|
|
4356
4361
|
_this.embeddingValidationService.validate(storage.embedding, source);
|
|
4362
|
+
return {};
|
|
4357
4363
|
});
|
|
4358
4364
|
}
|
|
4359
4365
|
return StorageValidationService;
|
|
@@ -4400,6 +4406,7 @@ var EmbeddingValidationService = /** @class */ (function () {
|
|
|
4400
4406
|
if (!_this._embeddingMap.has(embeddingName)) {
|
|
4401
4407
|
throw new Error("agent-swarm embedding ".concat(embeddingName, " not found source=").concat(source));
|
|
4402
4408
|
}
|
|
4409
|
+
return {};
|
|
4403
4410
|
});
|
|
4404
4411
|
}
|
|
4405
4412
|
return EmbeddingValidationService;
|
package/build/index.mjs
CHANGED
|
@@ -3251,6 +3251,7 @@ var AgentValidationService = /** @class */ (function () {
|
|
|
3251
3251
|
}
|
|
3252
3252
|
_this.storageValidationService.validate(storageName, source);
|
|
3253
3253
|
});
|
|
3254
|
+
return {};
|
|
3254
3255
|
});
|
|
3255
3256
|
}
|
|
3256
3257
|
return AgentValidationService;
|
|
@@ -3295,6 +3296,7 @@ var CompletionValidationService = /** @class */ (function () {
|
|
|
3295
3296
|
if (!_this._completionSet.has(completionName)) {
|
|
3296
3297
|
throw new Error("agent-swarm completion ".concat(completionName, " not found source=").concat(source));
|
|
3297
3298
|
}
|
|
3299
|
+
return {};
|
|
3298
3300
|
});
|
|
3299
3301
|
}
|
|
3300
3302
|
return CompletionValidationService;
|
|
@@ -3500,6 +3502,7 @@ var SessionValidationService = /** @class */ (function () {
|
|
|
3500
3502
|
if (!_this._sessionSwarmMap.has(clientId)) {
|
|
3501
3503
|
throw new Error("agent-swarm session clientId=".concat(clientId, " not exist source=").concat(source));
|
|
3502
3504
|
}
|
|
3505
|
+
return {};
|
|
3503
3506
|
};
|
|
3504
3507
|
/**
|
|
3505
3508
|
* Removes a session.
|
|
@@ -3581,6 +3584,7 @@ var SwarmValidationService = /** @class */ (function () {
|
|
|
3581
3584
|
swarm.agentList.forEach(function (agentName) {
|
|
3582
3585
|
return _this.agentValidationService.validate(agentName, source);
|
|
3583
3586
|
});
|
|
3587
|
+
return {};
|
|
3584
3588
|
});
|
|
3585
3589
|
}
|
|
3586
3590
|
return SwarmValidationService;
|
|
@@ -3627,6 +3631,7 @@ var ToolValidationService = /** @class */ (function () {
|
|
|
3627
3631
|
if (!_this._toolMap.has(toolName)) {
|
|
3628
3632
|
throw new Error("agent-swarm tool ".concat(toolName, " not found source=").concat(source));
|
|
3629
3633
|
}
|
|
3634
|
+
return {};
|
|
3630
3635
|
});
|
|
3631
3636
|
}
|
|
3632
3637
|
return ToolValidationService;
|
|
@@ -4352,6 +4357,7 @@ var StorageValidationService = /** @class */ (function () {
|
|
|
4352
4357
|
throw new Error("storage-swarm storage ".concat(storageName, " not found source=").concat(source));
|
|
4353
4358
|
}
|
|
4354
4359
|
_this.embeddingValidationService.validate(storage.embedding, source);
|
|
4360
|
+
return {};
|
|
4355
4361
|
});
|
|
4356
4362
|
}
|
|
4357
4363
|
return StorageValidationService;
|
|
@@ -4398,6 +4404,7 @@ var EmbeddingValidationService = /** @class */ (function () {
|
|
|
4398
4404
|
if (!_this._embeddingMap.has(embeddingName)) {
|
|
4399
4405
|
throw new Error("agent-swarm embedding ".concat(embeddingName, " not found source=").concat(source));
|
|
4400
4406
|
}
|
|
4407
|
+
return {};
|
|
4401
4408
|
});
|
|
4402
4409
|
}
|
|
4403
4410
|
return EmbeddingValidationService;
|