runbios-sdk 0.2.1-dev.128 → 0.2.1-dev.131

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-dev.128";
39
+ export declare const VERSION = "0.2.1-dev.131";
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.128';
39
+ export const VERSION = '0.2.1-dev.131';
40
40
  export class RunBiOS {
41
41
  /** Search models, fetch configs, check adapter compatibility. */
42
42
  models;
package/dist/types.d.ts CHANGED
@@ -701,6 +701,13 @@ export interface TrainingJob {
701
701
  status: TrainingJobStatus;
702
702
  error_message?: string | null;
703
703
  error_code?: string | null;
704
+ /**
705
+ * Who ended a `stopped` run: `user` (Stop button, API, queue cancel) or
706
+ * `platform` (wallet exhausted, account block). Empty when the run is not
707
+ * stopped, or was stopped before this was recorded. A `failed` run is a
708
+ * different fact and never carries a stop origin.
709
+ */
710
+ stop_origin?: 'user' | 'platform' | '';
704
711
  current_step?: number;
705
712
  total_steps?: number;
706
713
  current_loss?: number | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runbios-sdk",
3
- "version": "0.2.1-dev.128",
3
+ "version": "0.2.1-dev.131",
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",