@melaya/runner 1.0.108 → 1.0.109

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.
@@ -421,8 +421,11 @@ def _build_agent():
421
421
  # the task is finished. Give phone runs real headroom (they are HITL-gated,
422
422
  # so each write still needs the user's tap — cost stays bounded). Connector
423
423
  # WRITE fan-outs (1 list + N sends, each its own reasoning+HITL round) keep
424
- # the 40 that fits them; read-only Q&A needs very few.
425
- max_iters=100 if phone_enabled else (40 if connector_services else 8),
424
+ # the 40 that fits them; read-only Q&A needs very few. Phone raised + env-tunable
425
+ # for long-horizon tasks (100s of steps) now that per-step tokens are pruned +
426
+ # cached; each write is still HITL-gated so cost stays bounded.
427
+ max_iters=(int(os.environ.get("MEL_ASSISTANT_MAX_ITERS_PHONE", "300") or "300") if phone_enabled
428
+ else (40 if connector_services else 8)),
426
429
  reliability=True,
427
430
  bounded_memory=True,
428
431
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melaya/runner",
3
- "version": "1.0.108",
3
+ "version": "1.0.109",
4
4
  "description": "Run Melaya AI pipelines locally with your own LM Studio or Ollama models",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,