runbios-sdk 0.2.21-dev.297 → 0.2.21-rc.295

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
@@ -344,7 +344,7 @@ export class HttpClient {
344
344
  constructor(config) {
345
345
  // Default host stays api.runbios.ai for now; cutover to api.runbios.ai is
346
346
  // planned once its DNS exists.
347
- this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api-dev.runbios.ai').replace(/\/+$/, '');
347
+ this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api-staging.runbios.ai').replace(/\/+$/, '');
348
348
  this.apiKey = config.apiKey ?? envApiKey();
349
349
  this.accessToken = config.accessToken;
350
350
  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.2.21-dev.297";
39
+ export declare const VERSION = "0.2.21-rc.295";
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.2.21-dev.297';
39
+ export const VERSION = '0.2.21-rc.295';
40
40
  export class RunBiOS {
41
41
  /** Search models, fetch configs, check adapter compatibility. */
42
42
  models;
@@ -336,7 +336,7 @@ export class Inference {
336
336
  this.key = config.inferenceKey || envInferenceKey() || envApiKey();
337
337
  // Same default host as HttpClient (api.runbios.ai); api.runbios.ai cutover
338
338
  // is planned once its DNS exists — update both call sites together.
339
- this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api-dev.runbios.ai').replace(/\/+$/, '');
339
+ this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api-staging.runbios.ai').replace(/\/+$/, '');
340
340
  this.timeout = config.timeout ?? 900_000;
341
341
  this._http = http;
342
342
  }
@@ -495,8 +495,7 @@ export declare class Loop {
495
495
  * `agreed` or `disagreed`), `has_reference`, `status` (`scored`, `failed`),
496
496
  * order by `sort` (`score_change`: the attempt's score less the other's,
497
497
  * largest first), and search with `q` (2 to 200 characters) over each
498
- * conversation (not the system prompt every row shares), its right answer,
499
- * both answers and every reason; `searched`
498
+ * conversation, its right answer, both answers and every reason; `searched`
500
499
  * says how many rows were searched.
501
500
  */
502
501
  listEvaluationItems(id: string, params?: EvaluationItemListParams): Promise<EvaluationItemsResponse>;
@@ -683,8 +683,7 @@ export class Loop {
683
683
  * `agreed` or `disagreed`), `has_reference`, `status` (`scored`, `failed`),
684
684
  * order by `sort` (`score_change`: the attempt's score less the other's,
685
685
  * largest first), and search with `q` (2 to 200 characters) over each
686
- * conversation (not the system prompt every row shares), its right answer,
687
- * both answers and every reason; `searched`
686
+ * conversation, its right answer, both answers and every reason; `searched`
688
687
  * says how many rows were searched.
689
688
  */
690
689
  async listEvaluationItems(id, params = {}) {
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;
@@ -3354,8 +3354,7 @@ export type ReportSort = 'ordinal' | 'score_change';
3354
3354
  * `candidate_passed: false, incumbent_passed: true` is the regressions,
3355
3355
  * `candidate_passed: false` alone every row the new model did not pass.
3356
3356
  * `q` (2 to 200 characters) searches, case-insensitively, what a
3357
- * reader of each row sees -- the conversation (not the system prompt every row
3358
- * shares), the right answer, both answers
3357
+ * reader of each row sees -- the conversation, the right answer, both answers
3359
3358
  * and their tool calls, every reason -- read from storage by the service; the
3360
3359
  * answer's `searched` says how many rows it searched. A search can be refused
3361
3360
  * 429 `RATE_LIMITED`, with `Retry-After`, while this workspace already has a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runbios-sdk",
3
- "version": "0.2.21-dev.297",
3
+ "version": "0.2.21-rc.295",
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",