runbios-sdk 0.2.12-dev.230 → 0.2.12-dev.232
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/README.md +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ console.log(`Job ${job.id} created`);
|
|
|
48
48
|
|
|
49
49
|
### API Key (recommended)
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
New platform keys default to `bios-`, but your workspace may use a provider-shaped format or a custom prefix such as `glt-`. All dashboard-issued prefixes authenticate identically. For serverless inference, use a workspace-bound key with the `serverless` scope; legacy `usf-` keys remain valid.
|
|
52
52
|
|
|
53
53
|
```typescript
|
|
54
54
|
const client = new RunBiOS({
|
|
@@ -488,7 +488,7 @@ try {
|
|
|
488
488
|
|
|
489
489
|
| Option | Default | Description |
|
|
490
490
|
|--------|---------|-------------|
|
|
491
|
-
| `apiKey` | `RUNBIOS_API_KEY` env var (legacy `BIOS_API_KEY`) | API key (`bios
|
|
491
|
+
| `apiKey` | `RUNBIOS_API_KEY` env var (legacy `BIOS_API_KEY`) | Dashboard-issued API key (default `bios-`; custom and provider-shaped prefixes also work; legacy `usf-` keys remain valid) |
|
|
492
492
|
| `accessToken` | — | JWT access token |
|
|
493
493
|
| `orgId` | — | Organization ID (auto-resolved with API keys) |
|
|
494
494
|
| `workspaceId` | — | Workspace ID (auto-resolved with API keys) |
|
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.12-dev.
|
|
39
|
+
export declare const VERSION = "0.2.12-dev.232";
|
|
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.12-dev.
|
|
39
|
+
export const VERSION = '0.2.12-dev.232';
|
|
40
40
|
export class RunBiOS {
|
|
41
41
|
/** Search models, fetch configs, check adapter compatibility. */
|
|
42
42
|
models;
|
package/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** Configuration for initializing the Run BiOS SDK client. */
|
|
2
2
|
export interface BiOSConfig {
|
|
3
|
-
/** API key for authentication (prefix: bios-;
|
|
3
|
+
/** API key for authentication (default prefix: bios-; provider-shaped and custom prefixes also work). Falls back to the RUNBIOS_API_KEY environment variable (legacy: BIOS_API_KEY). Mutually exclusive with accessToken. */
|
|
4
4
|
apiKey?: string;
|
|
5
5
|
/** JWT access token for authentication. Mutually exclusive with apiKey. */
|
|
6
6
|
accessToken?: string;
|