agent-swarm-kit 1.0.239 → 1.0.240
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 +1 -1
- package/build/index.mjs +1 -1
- package/package.json +1 -1
package/build/index.cjs
CHANGED
|
@@ -2958,7 +2958,7 @@ class OperatorUtils {
|
|
|
2958
2958
|
clientId,
|
|
2959
2959
|
agentName,
|
|
2960
2960
|
});
|
|
2961
|
-
const isInitial = this.getOperator.has(`${clientId}-${agentName}`);
|
|
2961
|
+
const isInitial = !this.getOperator.has(`${clientId}-${agentName}`);
|
|
2962
2962
|
const operator = this.getOperator(clientId, agentName);
|
|
2963
2963
|
isInitial && operator.init();
|
|
2964
2964
|
return (message, next) => {
|
package/build/index.mjs
CHANGED
|
@@ -2956,7 +2956,7 @@ class OperatorUtils {
|
|
|
2956
2956
|
clientId,
|
|
2957
2957
|
agentName,
|
|
2958
2958
|
});
|
|
2959
|
-
const isInitial = this.getOperator.has(`${clientId}-${agentName}`);
|
|
2959
|
+
const isInitial = !this.getOperator.has(`${clientId}-${agentName}`);
|
|
2960
2960
|
const operator = this.getOperator(clientId, agentName);
|
|
2961
2961
|
isInitial && operator.init();
|
|
2962
2962
|
return (message, next) => {
|