runbios-sdk 0.3.0-dev.326 → 0.3.0-rc.325

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
@@ -378,7 +378,7 @@ export class HttpClient {
378
378
  constructor(config) {
379
379
  // Default host stays api.runbios.ai for now; cutover to api.runbios.ai is
380
380
  // planned once its DNS exists.
381
- this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api-dev.runbios.ai').replace(/\/+$/, '');
381
+ this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api-staging.runbios.ai').replace(/\/+$/, '');
382
382
  this.apiKey = config.apiKey ?? envApiKey();
383
383
  this.accessToken = config.accessToken;
384
384
  this.orgId = config.orgId;
package/dist/index.d.ts CHANGED
@@ -36,7 +36,7 @@ import { Loop } from './resources/loop.js';
36
36
  * SDK version. Sent as part of the User-Agent header.
37
37
  * Must match package.json "version" -- enforced by a contract test.
38
38
  */
39
- export declare const VERSION = "0.3.0-dev.326";
39
+ export declare const VERSION = "0.3.0-rc.325";
40
40
  export declare class RunBiOS {
41
41
  /** Search models, fetch configs, check adapter compatibility. */
42
42
  readonly models: Models;
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ import { Loop } from './resources/loop.js';
36
36
  * SDK version. Sent as part of the User-Agent header.
37
37
  * Must match package.json "version" -- enforced by a contract test.
38
38
  */
39
- export const VERSION = '0.3.0-dev.326';
39
+ export const VERSION = '0.3.0-rc.325';
40
40
  export class RunBiOS {
41
41
  /** Search models, fetch configs, check adapter compatibility. */
42
42
  models;
@@ -373,7 +373,7 @@ export class Inference {
373
373
  this.key = config.inferenceKey || envInferenceKey() || envApiKey();
374
374
  // Same default host as HttpClient (api.runbios.ai); api.runbios.ai cutover
375
375
  // is planned once its DNS exists — update both call sites together.
376
- this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api-dev.runbios.ai').replace(/\/+$/, '');
376
+ this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api-staging.runbios.ai').replace(/\/+$/, '');
377
377
  this.timeout = config.timeout ?? 900_000;
378
378
  this._http = http;
379
379
  }
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;
@@ -3316,15 +3316,6 @@ export interface TrainingRun {
3316
3316
  * cap when no placement price was reported).
3317
3317
  */
3318
3318
  billed_candidate_up_to: boolean;
3319
- /**
3320
- * What was taken off for comparison machines that never started (never
3321
- * reached running): the platform charged nothing for them, so neither does
3322
- * the attempt -- say "Comparison machine: not charged (it never started)",
3323
- * or, while a comparison machine that ran is still charged beside it, that
3324
- * the one that never started was not charged. 0 when none; the cost figures
3325
- * beside it are already net of it.
3326
- */
3327
- comparison_returned_cents: number;
3328
3319
  spent_eval_cents: number;
3329
3320
  train_rows: number | null;
3330
3321
  holdout_rows: number | null;
@@ -3446,8 +3437,6 @@ export interface TrainingRunSummary {
3446
3437
  billed_candidate_cents: number;
3447
3438
  /** See {@link TrainingRun.billed_candidate_up_to}. */
3448
3439
  billed_candidate_up_to: boolean;
3449
- /** See {@link TrainingRun.comparison_returned_cents}. */
3450
- comparison_returned_cents: number;
3451
3440
  spent_eval_cents: number;
3452
3441
  /** The fourth money column. A row that leaves it out adds up short. */
3453
3442
  benchmark_spent_cents: number;
@@ -4235,8 +4224,6 @@ export interface PipelineActiveRun {
4235
4224
  * the most it can have cost, so show it as "up to".
4236
4225
  */
4237
4226
  cost_up_to: boolean;
4238
- /** See {@link TrainingRun.comparison_returned_cents}. */
4239
- comparison_returned_cents: number;
4240
4227
  /** The version number it will take if it is put live. */
4241
4228
  will_be_version: number;
4242
4229
  /** Always null: nothing in flight is a version yet. */
@@ -4384,8 +4371,6 @@ export interface PipelineAttempt {
4384
4371
  cost_cents: number;
4385
4372
  /** See {@link PipelineVersion.cost_up_to}. */
4386
4373
  cost_up_to: boolean;
4387
- /** See {@link TrainingRun.comparison_returned_cents}. */
4388
- comparison_returned_cents: number;
4389
4374
  verdict: TrainingVerdict | null;
4390
4375
  win_rate: number | null;
4391
4376
  /**
@@ -4802,13 +4787,6 @@ export interface TrainingRunCost {
4802
4787
  benchmark_cents: number;
4803
4788
  total_cents: number;
4804
4789
  up_to: boolean;
4805
- /**
4806
- * What was taken off `comparison_cents` for comparison machines that never
4807
- * started: "Comparison machine: not charged (it never started)" (with
4808
- * `comparison_cents` above 0, only the one that never started). 0 when
4809
- * none.
4810
- */
4811
- comparison_returned_cents: number;
4812
4790
  }
4813
4791
  export interface TrainingRunActionResponse {
4814
4792
  run: TrainingRun;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runbios-sdk",
3
- "version": "0.3.0-dev.326",
3
+ "version": "0.3.0-rc.325",
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",