@perkos/perkos-a2a 0.12.5 → 0.12.6
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/dist/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +7 -1
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27469,7 +27469,7 @@ var A2AServer = class {
|
|
|
27469
27469
|
}
|
|
27470
27470
|
return null;
|
|
27471
27471
|
}
|
|
27472
|
-
async waitForLocalTaskTerminal(taskId, timeoutMs =
|
|
27472
|
+
async waitForLocalTaskTerminal(taskId, timeoutMs = Number(process.env.A2A_TASK_WAIT_MS) || 24e4, pollMs = 1e3) {
|
|
27473
27473
|
const deadline = Date.now() + timeoutMs;
|
|
27474
27474
|
while (Date.now() < deadline) {
|
|
27475
27475
|
const task = this.tasks.get(taskId);
|