@neuracore/types 11.16.0 → 11.17.0-main.208.1

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.
@@ -1612,7 +1612,7 @@ export interface RecordingDataTrace {
1612
1612
  */
1613
1613
  export interface RecordingNotification {
1614
1614
  type: RecordingNotificationType;
1615
- payload: RecordingStartPayload | RecordingStartPayload[] | BaseRecodingUpdatePayload;
1615
+ payload: RecordingStartPayload | RecordingStartPayload[] | RecordingStopPayload | BaseRecodingUpdatePayload;
1616
1616
  id: string;
1617
1617
  }
1618
1618
  /**
@@ -1627,6 +1627,15 @@ export interface RecordingStartPayload {
1627
1627
  data_types: DataType[];
1628
1628
  start_time: number;
1629
1629
  }
1630
+ /**
1631
+ * Payload for recording stop notifications.
1632
+ */
1633
+ export interface RecordingStopPayload {
1634
+ recording_id: string;
1635
+ robot_id: string;
1636
+ instance: number;
1637
+ end_time: number;
1638
+ }
1630
1639
  /**
1631
1640
  * Order to list the recordings of a dataset in.
1632
1641
  *
@@ -1887,6 +1896,10 @@ export interface TracesMetadataRequest {
1887
1896
  * previous_training_time: The time spent on the previous training, if applicable.
1888
1897
  * seconds_per_epoch: Wall-clock seconds for the latest completed post-warmup
1889
1898
  * epoch, if measured. Used by clients to estimate remaining time.
1899
+ * phase_progress_done: Completed units for the current pre-training phase
1900
+ * (synced recordings or downloaded videos), if applicable.
1901
+ * phase_progress_total: Total units for the current pre-training phase,
1902
+ * if applicable.
1890
1903
  * error: Any error message associated with the job, if applicable.
1891
1904
  * resume_points: List of timestamps where the job can be resumed.
1892
1905
  * input_cross_embodiment_description: List of data types for the input data.
@@ -1921,6 +1934,8 @@ export interface TrainingJob {
1921
1934
  resumed_from_checkpoint?: string | null;
1922
1935
  previous_training_time?: number | null;
1923
1936
  seconds_per_epoch?: number | null;
1937
+ phase_progress_done?: number | null;
1938
+ phase_progress_total?: number | null;
1924
1939
  error?: string | null;
1925
1940
  resume_points: number[];
1926
1941
  input_cross_embodiment_description: {
@@ -1986,6 +2001,36 @@ export interface TrainingJobRequest {
1986
2001
  };
1987
2002
  resume_from_job_id?: string | null;
1988
2003
  }
2004
+ /**
2005
+ * Progress within the current pre-training phase.
2006
+ *
2007
+ * Attributes:
2008
+ * num_completed_items: Completed units for the current phase
2009
+ * (e.g. synced or downloaded recordings).
2010
+ * num_total_items: Total units for the current phase.
2011
+ */
2012
+ export interface TrainingPhaseProgress {
2013
+ num_completed_items?: number | null;
2014
+ num_total_items?: number | null;
2015
+ }
2016
+ /**
2017
+ * Progress / phase update reported by the training process.
2018
+ *
2019
+ * Attributes:
2020
+ * epoch: Current training epoch.
2021
+ * step: Current training step.
2022
+ * seconds_per_epoch: Wall-clock seconds for the latest completed
2023
+ * post-warmup epoch, if measured.
2024
+ * status: Optional lifecycle phase (e.g. SYNCING_DATA, TRAINING).
2025
+ * phase_progress: Optional progress within the current phase.
2026
+ */
2027
+ export interface TrainingProgress {
2028
+ epoch?: number | null;
2029
+ step?: number | null;
2030
+ seconds_per_epoch?: number | null;
2031
+ status?: TrainingJobStatus | null;
2032
+ phase_progress?: TrainingPhaseProgress | null;
2033
+ }
1989
2034
  /**
1990
2035
  * Enumeration of supported data types in the Neuracore system.
1991
2036
  *
@@ -2432,13 +2477,21 @@ export declare enum SynchronizeRecordingStatus1 {
2432
2477
  * Training job status.
2433
2478
  */
2434
2479
  export declare enum TrainingJobStatus {
2435
- PREPARING_DATA = "PREPARING_DATA",
2436
- PENDING = "PENDING",
2437
- RUNNING = "RUNNING",
2480
+ QUEUED = "QUEUED",
2481
+ PROVISIONING = "PROVISIONING",
2482
+ STARTING = "STARTING",
2483
+ SYNCING_DATA = "SYNCING_DATA",
2484
+ FETCHING_DATA = "FETCHING_DATA",
2485
+ CALCULATING_STATISTICS = "CALCULATING_STATISTICS",
2486
+ TUNING_BATCH_SIZE = "TUNING_BATCH_SIZE",
2487
+ TRAINING = "TRAINING",
2438
2488
  COMPLETED = "COMPLETED",
2439
2489
  FAILED = "FAILED",
2440
2490
  CANCELLED = "CANCELLED",
2441
- CANCELLING = "CANCELLING"
2491
+ CANCELLING = "CANCELLING",
2492
+ PREPARING_DATA = "PREPARING_DATA",
2493
+ PENDING = "PENDING",
2494
+ RUNNING = "RUNNING"
2442
2495
  }
2443
2496
  /**
2444
2497
  * GPU types available for training and deployment.
@@ -512,13 +512,21 @@ var SynchronizeRecordingStatus1;
512
512
  */
513
513
  var TrainingJobStatus;
514
514
  (function (TrainingJobStatus) {
515
- TrainingJobStatus["PREPARING_DATA"] = "PREPARING_DATA";
516
- TrainingJobStatus["PENDING"] = "PENDING";
517
- TrainingJobStatus["RUNNING"] = "RUNNING";
515
+ TrainingJobStatus["QUEUED"] = "QUEUED";
516
+ TrainingJobStatus["PROVISIONING"] = "PROVISIONING";
517
+ TrainingJobStatus["STARTING"] = "STARTING";
518
+ TrainingJobStatus["SYNCING_DATA"] = "SYNCING_DATA";
519
+ TrainingJobStatus["FETCHING_DATA"] = "FETCHING_DATA";
520
+ TrainingJobStatus["CALCULATING_STATISTICS"] = "CALCULATING_STATISTICS";
521
+ TrainingJobStatus["TUNING_BATCH_SIZE"] = "TUNING_BATCH_SIZE";
522
+ TrainingJobStatus["TRAINING"] = "TRAINING";
518
523
  TrainingJobStatus["COMPLETED"] = "COMPLETED";
519
524
  TrainingJobStatus["FAILED"] = "FAILED";
520
525
  TrainingJobStatus["CANCELLED"] = "CANCELLED";
521
526
  TrainingJobStatus["CANCELLING"] = "CANCELLING";
527
+ TrainingJobStatus["PREPARING_DATA"] = "PREPARING_DATA";
528
+ TrainingJobStatus["PENDING"] = "PENDING";
529
+ TrainingJobStatus["RUNNING"] = "RUNNING";
522
530
  })(TrainingJobStatus || (exports.TrainingJobStatus = TrainingJobStatus = {}));
523
531
  /**
524
532
  * GPU types available for training and deployment.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuracore/types",
3
- "version": "11.16.0",
3
+ "version": "11.17.0-main.208.1",
4
4
  "description": "Shared TypeScript type definitions for Neuracore robotics platform",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -27,7 +27,6 @@
27
27
  "devDependencies": {
28
28
  "typescript": "^5.3.0",
29
29
  "grpc-tools": "^1.13.0"
30
-
31
30
  },
32
31
  "publishConfig": {
33
32
  "access": "public"