@oya-ai/cli 1.0.86 → 1.0.87

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/index.js +6 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -346,6 +346,7 @@ var Run = class {
346
346
  }
347
347
  }
348
348
  };
349
+ var MAX_FILE_BYTES = 10 * 1024 * 1024;
349
350
  var DEFAULT_BASE_URL = "https://browser.getoya.ai";
350
351
  var READY_POLL_MS = 2e3;
351
352
  var env = (name) => globalThis.process?.env?.[name];
@@ -475,10 +476,11 @@ var Oya = class {
475
476
  *
476
477
  * Bring your own LLM key (it pays for its own tokens, so no hourly chat quota applies):
477
478
  * await oya.config.set({ llm_provider: 'gemini', openai_api_key: process.env.GEMINI_API_KEY });
478
- * `llm_provider` is 'openai' | 'anthropic' | 'gemini' | 'vertex'; `chat_model` overrides
479
- * its default model. 'vertex' is Gemini Enterprise (ex-Vertex AI) in express mode, which
480
- * needs no GCP project; for a project-scoped endpoint, set `openai_base_url` to
481
- * `.../endpoints/openapi` and pass an OAuth access token as `openai_api_key`.
479
+ * `llm_provider` is the {@link LlmProvider} union, so an editor offers the choices and a
480
+ * typo is a compile error; `chat_model` overrides its default model. 'vertex' is Gemini
481
+ * Enterprise (ex-Vertex AI) in express mode, which needs no GCP project; for a
482
+ * project-scoped endpoint, set `openai_base_url` to `.../endpoints/openapi` and pass an
483
+ * OAuth access token as `openai_api_key`. See {@link ConfigUpdate} for every field.
482
484
  */
483
485
  config = {
484
486
  get: () => this.http.request("GET", "/api/config"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oya-ai/cli",
3
- "version": "1.0.86",
3
+ "version": "1.0.87",
4
4
  "description": "Command line for the Oya browser control plane.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://browser.getoya.ai",
@@ -39,7 +39,7 @@
39
39
  "access": "public"
40
40
  },
41
41
  "devDependencies": {
42
- "@oya-ai/browser": "1.0.86",
42
+ "@oya-ai/browser": "1.0.87",
43
43
  "@types/node": "^20.19.43",
44
44
  "tsup": "^8.0.0",
45
45
  "typescript": "^5.4.0"