agent-swarm-kit 1.3.0 → 1.3.2

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
@@ -9249,6 +9249,9 @@ class AgentValidationService {
9249
9249
  targetAgentName,
9250
9250
  depAgentName,
9251
9251
  });
9252
+ if (targetAgentName === depAgentName) {
9253
+ return true;
9254
+ }
9252
9255
  if (this._agentDepsMap.has(targetAgentName)) {
9253
9256
  return this._agentDepsMap.get(targetAgentName).includes(depAgentName);
9254
9257
  }
@@ -20322,6 +20325,7 @@ const jsonInternal = beginContext(async (outlineName, ...params) => {
20322
20325
  attempt,
20323
20326
  format,
20324
20327
  history,
20328
+ resultId,
20325
20329
  };
20326
20330
  if (outlineCallbacks?.onAttempt) {
20327
20331
  outlineCallbacks.onAttempt(inputArgs);
package/build/index.mjs CHANGED
@@ -9229,6 +9229,9 @@ class AgentValidationService {
9229
9229
  targetAgentName,
9230
9230
  depAgentName,
9231
9231
  });
9232
+ if (targetAgentName === depAgentName) {
9233
+ return true;
9234
+ }
9232
9235
  if (this._agentDepsMap.has(targetAgentName)) {
9233
9236
  return this._agentDepsMap.get(targetAgentName).includes(depAgentName);
9234
9237
  }
@@ -20302,6 +20305,7 @@ const jsonInternal = beginContext(async (outlineName, ...params) => {
20302
20305
  attempt,
20303
20306
  format,
20304
20307
  history,
20308
+ resultId,
20305
20309
  };
20306
20310
  if (outlineCallbacks?.onAttempt) {
20307
20311
  outlineCallbacks.onAttempt(inputArgs);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-swarm-kit",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "A TypeScript library for building orchestrated framework-agnostic multi-agent AI systems",
5
5
  "author": {
6
6
  "name": "Petr Tripolsky",
package/types.d.ts CHANGED
@@ -3963,6 +3963,11 @@ interface IOutlineArgs {
3963
3963
  * Provides access to message history for context or logging.
3964
3964
  */
3965
3965
  history: IOutlineHistory;
3966
+ /**
3967
+ * The unique identifier for the execution instance of the outline operation.
3968
+ * Used for tracking or debugging specific runs.
3969
+ */
3970
+ resultId: string;
3966
3971
  }
3967
3972
  /**
3968
3973
  * Interface extending outline arguments with data param for validation.