agent-swarm-kit 1.1.131 → 1.1.132
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 +5 -0
- package/build/index.mjs +5 -0
- package/package.json +1 -1
package/build/index.cjs
CHANGED
|
@@ -21311,6 +21311,7 @@ const jsonInternal = beginContext(async (outlineName, param) => {
|
|
|
21311
21311
|
});
|
|
21312
21312
|
}
|
|
21313
21313
|
};
|
|
21314
|
+
let lastData = null;
|
|
21314
21315
|
for (let attempt = 0; attempt < maxAttempts; attempt++) {
|
|
21315
21316
|
await makeHistory();
|
|
21316
21317
|
const inputArgs = {
|
|
@@ -21339,6 +21340,9 @@ const jsonInternal = beginContext(async (outlineName, param) => {
|
|
|
21339
21340
|
}, output);
|
|
21340
21341
|
}
|
|
21341
21342
|
const data = JSON.parse(output.content);
|
|
21343
|
+
{
|
|
21344
|
+
lastData = data;
|
|
21345
|
+
}
|
|
21342
21346
|
const validationArgs = {
|
|
21343
21347
|
...inputArgs,
|
|
21344
21348
|
data,
|
|
@@ -21364,6 +21368,7 @@ const jsonInternal = beginContext(async (outlineName, param) => {
|
|
|
21364
21368
|
errorMessage = functoolsKit.getErrorMessage(error);
|
|
21365
21369
|
console.error(`agent-swarm outline error outlineName=${outlineName} attempt=${attempt}`, {
|
|
21366
21370
|
param,
|
|
21371
|
+
lastData,
|
|
21367
21372
|
errorMessage,
|
|
21368
21373
|
});
|
|
21369
21374
|
}
|
package/build/index.mjs
CHANGED
|
@@ -21309,6 +21309,7 @@ const jsonInternal = beginContext(async (outlineName, param) => {
|
|
|
21309
21309
|
});
|
|
21310
21310
|
}
|
|
21311
21311
|
};
|
|
21312
|
+
let lastData = null;
|
|
21312
21313
|
for (let attempt = 0; attempt < maxAttempts; attempt++) {
|
|
21313
21314
|
await makeHistory();
|
|
21314
21315
|
const inputArgs = {
|
|
@@ -21337,6 +21338,9 @@ const jsonInternal = beginContext(async (outlineName, param) => {
|
|
|
21337
21338
|
}, output);
|
|
21338
21339
|
}
|
|
21339
21340
|
const data = JSON.parse(output.content);
|
|
21341
|
+
{
|
|
21342
|
+
lastData = data;
|
|
21343
|
+
}
|
|
21340
21344
|
const validationArgs = {
|
|
21341
21345
|
...inputArgs,
|
|
21342
21346
|
data,
|
|
@@ -21362,6 +21366,7 @@ const jsonInternal = beginContext(async (outlineName, param) => {
|
|
|
21362
21366
|
errorMessage = getErrorMessage(error);
|
|
21363
21367
|
console.error(`agent-swarm outline error outlineName=${outlineName} attempt=${attempt}`, {
|
|
21364
21368
|
param,
|
|
21369
|
+
lastData,
|
|
21365
21370
|
errorMessage,
|
|
21366
21371
|
});
|
|
21367
21372
|
}
|