pyre-agent-kit 4.3.9 → 4.3.10

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.
Files changed (2) hide show
  1. package/dist/cli.js +3 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -263,7 +263,7 @@ async function runSetup() {
263
263
  llmModel = await ask('Model (e.g. llama3, gemma3:4b, mistral)', 'llama3');
264
264
  }
265
265
  // Tick interval
266
- const intervalStr = await ask('Seconds between actions', '30');
266
+ const intervalStr = await ask('Seconds between actions', '45');
267
267
  const tickIntervalMs = Math.max(5, parseInt(intervalStr) || 30) * 1000;
268
268
  const config = {
269
269
  network,
@@ -449,7 +449,8 @@ async function runAgent(config) {
449
449
  catch (e) {
450
450
  console.error(` [${ts()}] Tick error: ${e.message}`);
451
451
  }
452
- await new Promise((resolve) => setTimeout(resolve, config.tickIntervalMs));
452
+ const jitter = Math.floor(Math.random() * 15000); // 0-15s random jitter
453
+ await new Promise((resolve) => setTimeout(resolve, config.tickIntervalMs + jitter));
453
454
  }
454
455
  }
455
456
  // ─── Main ─────────────────────────────────────────────────────────
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pyre-agent-kit",
3
- "version": "4.3.9",
3
+ "version": "4.3.10",
4
4
  "description": "Autonomous agent kit for Pyre — plug in your own LLM and play pyre.world",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",