runbios-sdk 0.2.1-rc.156 → 0.2.1-rc.166

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 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-rc.156";
39
+ export declare const VERSION = "0.2.1-rc.166";
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-rc.156';
39
+ export const VERSION = '0.2.1-rc.166';
40
40
  export class RunBiOS {
41
41
  /** Search models, fetch configs, check adapter compatibility. */
42
42
  models;
package/dist/types.d.ts CHANGED
@@ -3284,6 +3284,21 @@ export interface TrainingRulePreflightRequest {
3284
3284
  export interface TrainingRuleCreateRequest extends TrainingRulePreflightRequest {
3285
3285
  /** Absent is a refusal, not a default. */
3286
3286
  accept_terms?: TrainingRuleAcceptTerms;
3287
+ /**
3288
+ * The standing benchmark this rule replays, set here so it applies to the
3289
+ * rule's FIRST run.
3290
+ *
3291
+ * A rule can fire within seconds of being created, and every step of a run
3292
+ * reads the benchmark off the rule as it stood at that moment. Attaching one
3293
+ * afterwards with `setTrainingRuleBenchmark` applies from the next run and
3294
+ * says nothing about the first, which is the run somebody is watching.
3295
+ *
3296
+ * Refused on the same terms the attach route refuses it: `404` when it is not
3297
+ * this workspace's, `409 BENCHMARK_RETIRED` when it has been retired. Use
3298
+ * `setTrainingRuleBenchmark` to change or remove it later; it is not on the
3299
+ * preflight body and not on the update body.
3300
+ */
3301
+ benchmark_id?: string;
3287
3302
  }
3288
3303
  export interface TrainingRuleUpdateRequest extends TrainingRulePreflightRequest {
3289
3304
  expected_revision?: number;
@@ -3852,6 +3867,13 @@ export interface TrainingRuleMutationResponse {
3852
3867
  export interface TrainingRuleDeleteResponse {
3853
3868
  deleted: boolean;
3854
3869
  rule_id: string;
3870
+ /**
3871
+ * The name this delete just spent. The delete is a soft delete and the name
3872
+ * index carries no partial predicate, so the row goes on holding the name
3873
+ * after it has left every list you can read, and no later rule in the
3874
+ * workspace can be called that. There is no purge and no undelete.
3875
+ */
3876
+ retained_name: string;
3855
3877
  cancelled_run_id: string | null;
3856
3878
  }
3857
3879
  export interface TrainingRunListResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runbios-sdk",
3
- "version": "0.2.1-rc.156",
3
+ "version": "0.2.1-rc.166",
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",