runbios-sdk 0.2.1-dev.135 → 0.2.1-dev.136
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/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/resources/loop.d.ts +8 -5
- package/dist/resources/loop.js +8 -5
- package/package.json +1 -1
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.1-dev.
|
|
39
|
+
export declare const VERSION = "0.2.1-dev.136";
|
|
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.1-dev.
|
|
39
|
+
export const VERSION = '0.2.1-dev.136';
|
|
40
40
|
export class RunBiOS {
|
|
41
41
|
/** Search models, fetch configs, check adapter compatibility. */
|
|
42
42
|
models;
|
package/dist/resources/loop.d.ts
CHANGED
|
@@ -415,8 +415,9 @@ export declare class Loop {
|
|
|
415
415
|
*/
|
|
416
416
|
agentStatus(): Promise<LoopAgentStatus>;
|
|
417
417
|
/**
|
|
418
|
-
* Turn the agent on: mints the workspace's managed serverless key
|
|
419
|
-
*
|
|
418
|
+
* Turn the agent on: mints the workspace's managed serverless key and
|
|
419
|
+
* resumes the automatic judges a previous turn-off paused. After this,
|
|
420
|
+
* automatic judges and sample runs make model calls billed to the
|
|
420
421
|
* workspace. Idempotent.
|
|
421
422
|
*
|
|
422
423
|
* `monthly_spend_cap_cents` caps what that key may spend on model calls in
|
|
@@ -430,9 +431,11 @@ export declare class Loop {
|
|
|
430
431
|
monthly_spend_cap_cents?: number;
|
|
431
432
|
}): Promise<LoopAgentCredential>;
|
|
432
433
|
/**
|
|
433
|
-
* Turn the agent off: revokes its key and
|
|
434
|
-
*
|
|
435
|
-
* on.
|
|
434
|
+
* Turn the agent off: revokes its key and pauses every automatic judge in
|
|
435
|
+
* the workspace (`judges_paused`; each judge shows `auto_paused`). Turning
|
|
436
|
+
* it back on resumes exactly those judges. Open runs stop where they are
|
|
437
|
+
* and continue if it is turned back on. Nothing already scored or written
|
|
438
|
+
* is removed.
|
|
436
439
|
*/
|
|
437
440
|
disableAgent(): Promise<{
|
|
438
441
|
revoked: boolean;
|
package/dist/resources/loop.js
CHANGED
|
@@ -586,8 +586,9 @@ export class Loop {
|
|
|
586
586
|
return this._http.fetchGet('/api/loop/agent');
|
|
587
587
|
}
|
|
588
588
|
/**
|
|
589
|
-
* Turn the agent on: mints the workspace's managed serverless key
|
|
590
|
-
*
|
|
589
|
+
* Turn the agent on: mints the workspace's managed serverless key and
|
|
590
|
+
* resumes the automatic judges a previous turn-off paused. After this,
|
|
591
|
+
* automatic judges and sample runs make model calls billed to the
|
|
591
592
|
* workspace. Idempotent.
|
|
592
593
|
*
|
|
593
594
|
* `monthly_spend_cap_cents` caps what that key may spend on model calls in
|
|
@@ -605,9 +606,11 @@ export class Loop {
|
|
|
605
606
|
return res.credential;
|
|
606
607
|
}
|
|
607
608
|
/**
|
|
608
|
-
* Turn the agent off: revokes its key and
|
|
609
|
-
*
|
|
610
|
-
* on.
|
|
609
|
+
* Turn the agent off: revokes its key and pauses every automatic judge in
|
|
610
|
+
* the workspace (`judges_paused`; each judge shows `auto_paused`). Turning
|
|
611
|
+
* it back on resumes exactly those judges. Open runs stop where they are
|
|
612
|
+
* and continue if it is turned back on. Nothing already scored or written
|
|
613
|
+
* is removed.
|
|
611
614
|
*/
|
|
612
615
|
async disableAgent() {
|
|
613
616
|
return this._http.fetchDelete('/api/loop/agent');
|