@melaya/runner 1.1.12 → 1.1.13

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.
@@ -621,7 +621,11 @@ def _build_agent():
621
621
  toolkit=toolkit,
622
622
  model_name=model,
623
623
  provider=provider,
624
- api_key="", # model.py resolves the provider's own creds (OAuth off disk / localhost)
624
+ # Cloud providers on the runner path (browser control turns pinned to the
625
+ # runner even for a cloud model) get their key passed down from the server
626
+ # as MEL_ASSISTANT_PROVIDER_API_KEY. Empty for local providers (claude_code
627
+ # OAuth / ollama / lmstudio), where model.py resolves on-disk/localhost auth.
628
+ api_key=os.environ.get("MEL_ASSISTANT_PROVIDER_API_KEY", "") or "",
625
629
  # Phone tasks that act on N items ("like + comment on 10 posts") take
626
630
  # ~10-15 tool calls EACH (screen_tree→read→tap→type→post_comment→verify→
627
631
  # swipe to the next), so a flat 40 capped a 10-post run at ~3 done and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melaya/runner",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "Run Melaya AI pipelines locally with your own LM Studio or Ollama models",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,