runbios-sdk 0.2.1-rc.151 → 0.2.1-rc.153

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.151";
39
+ export declare const VERSION = "0.2.1-rc.153";
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.151';
39
+ export const VERSION = '0.2.1-rc.153';
40
40
  export class RunBiOS {
41
41
  /** Search models, fetch configs, check adapter compatibility. */
42
42
  models;
@@ -567,10 +567,11 @@ export declare class Loop {
567
567
  * `valid: false` with an EMPTY `refusals` list is not nothing: check
568
568
  * `unreachable`, which names every peer the platform could not reach. The
569
569
  * rule is savable in that state and would be paused, but the estimate around
570
- * it is not trustworthy -- both `worst_hourly_*` are `0` -- so do not quote
571
- * those figures to anyone. `model_revision` is NOT a signal here: a degraded
572
- * pass echoes back whatever revision the request carried, so test
573
- * `unreachable.length > 0` rather than the revision being empty.
570
+ * it is not trustworthy -- both `worst_hourly_*` are `0`, and so are both
571
+ * `max_*_hours` beside them -- so do not quote those figures to anyone.
572
+ * `model_revision` is empty unless training-service actually pinned a
573
+ * commit; test `unreachable.length > 0` to tell a degraded pass from a
574
+ * refusal.
574
575
  */
575
576
  preflightTrainingRule(params: TrainingRulePreflightRequest): Promise<TrainingRulePreflight>;
576
577
  /**
@@ -776,10 +776,11 @@ export class Loop {
776
776
  * `valid: false` with an EMPTY `refusals` list is not nothing: check
777
777
  * `unreachable`, which names every peer the platform could not reach. The
778
778
  * rule is savable in that state and would be paused, but the estimate around
779
- * it is not trustworthy -- both `worst_hourly_*` are `0` -- so do not quote
780
- * those figures to anyone. `model_revision` is NOT a signal here: a degraded
781
- * pass echoes back whatever revision the request carried, so test
782
- * `unreachable.length > 0` rather than the revision being empty.
779
+ * it is not trustworthy -- both `worst_hourly_*` are `0`, and so are both
780
+ * `max_*_hours` beside them -- so do not quote those figures to anyone.
781
+ * `model_revision` is empty unless training-service actually pinned a
782
+ * commit; test `unreachable.length > 0` to tell a degraded pass from a
783
+ * refusal.
783
784
  */
784
785
  async preflightTrainingRule(params) {
785
786
  return this._http.fetchPost('/api/loop/training-rules/preflight', params);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runbios-sdk",
3
- "version": "0.2.1-rc.151",
3
+ "version": "0.2.1-rc.153",
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",