runbios-sdk 0.2.1-dev.62 → 0.2.1-rc.63

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/client.js CHANGED
@@ -276,7 +276,7 @@ export class HttpClient {
276
276
  constructor(config) {
277
277
  // Default host stays api.runbios.ai for now; cutover to api.runbios.ai is
278
278
  // planned once its DNS exists.
279
- this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api-dev.runbios.ai').replace(/\/+$/, '');
279
+ this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api-staging.runbios.ai').replace(/\/+$/, '');
280
280
  this.apiKey = config.apiKey ?? envApiKey();
281
281
  this.accessToken = config.accessToken;
282
282
  this.orgId = config.orgId;
package/dist/index.d.ts CHANGED
@@ -34,7 +34,7 @@ import { Inference } from './resources/inference.js';
34
34
  * SDK version. Sent as part of the User-Agent header.
35
35
  * Must match package.json "version" -- enforced by a contract test.
36
36
  */
37
- export declare const VERSION = "0.2.1-dev.62";
37
+ export declare const VERSION = "0.2.1-rc.63";
38
38
  export declare class RunBiOS {
39
39
  /** Search models, fetch configs, check adapter compatibility. */
40
40
  readonly models: Models;
package/dist/index.js CHANGED
@@ -34,7 +34,7 @@ import { Inference } from './resources/inference.js';
34
34
  * SDK version. Sent as part of the User-Agent header.
35
35
  * Must match package.json "version" -- enforced by a contract test.
36
36
  */
37
- export const VERSION = '0.2.1-dev.62';
37
+ export const VERSION = '0.2.1-rc.63';
38
38
  export class RunBiOS {
39
39
  /** Search models, fetch configs, check adapter compatibility. */
40
40
  models;
@@ -326,7 +326,7 @@ export class Inference {
326
326
  this.key = config.inferenceKey || envInferenceKey() || envApiKey();
327
327
  // Same default host as HttpClient (api.runbios.ai); api.runbios.ai cutover
328
328
  // is planned once its DNS exists — update both call sites together.
329
- this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api-dev.runbios.ai').replace(/\/+$/, '');
329
+ this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api-staging.runbios.ai').replace(/\/+$/, '');
330
330
  this.timeout = config.timeout ?? 900_000;
331
331
  this._http = http;
332
332
  }
package/dist/types.d.ts CHANGED
@@ -8,13 +8,13 @@ export interface BiOSConfig {
8
8
  orgId?: string;
9
9
  /** Workspace ID. Optional when using API keys (resolved from the key). Can override for multi-workspace keys. */
10
10
  workspaceId?: string;
11
- /** Base URL for the API. Falls back to the RUNBIOS_BASE_URL environment variable (legacy: BIOS_BASE_URL), then the canonical https://api-dev.runbios.ai hostname. */
11
+ /** Base URL for the API. Falls back to the RUNBIOS_BASE_URL environment variable (legacy: BIOS_BASE_URL), then the canonical https://api-staging.runbios.ai hostname. */
12
12
  baseUrl?: string;
13
13
  /** Request timeout in milliseconds. Defaults to 30000. */
14
14
  timeout?: number;
15
15
  /** Default per-deployment inference key. Can be overridden per inference call. */
16
16
  inferenceKey?: string;
17
- /** Inference base URL. Defaults to baseUrl, then https://api-dev.runbios.ai. */
17
+ /** Inference base URL. Defaults to baseUrl, then https://api-staging.runbios.ai. */
18
18
  inferenceBaseUrl?: string;
19
19
  /** End-to-end inference timeout in milliseconds. Defaults to 15 minutes. */
20
20
  inferenceTimeout?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runbios-sdk",
3
- "version": "0.2.1-dev.62",
3
+ "version": "0.2.1-rc.63",
4
4
  "description": "Official TypeScript SDK for the Run BiOS training and deployment platform API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",