@neuracore/types 11.0.0 → 11.1.0-main.102.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.
@@ -1112,6 +1112,10 @@ export interface HandshakeMessage {
1112
1112
  * types to names
1113
1113
  * output_cross_embodiment_description: Mapping of robot to output data
1114
1114
  * types to names
1115
+ * resume_from_job_id: Identifier of the training job whose checkpoint this
1116
+ * job continues from, if any.
1117
+ * resume_from_checkpoint: Name of the checkpoint file to continue from,
1118
+ * resolved when the job was requested.
1115
1119
  */
1116
1120
  export interface InternalStartTrainingJobRequest {
1117
1121
  org_id: string;
@@ -1141,6 +1145,8 @@ export interface InternalStartTrainingJobRequest {
1141
1145
  };
1142
1146
  };
1143
1147
  };
1148
+ resume_from_job_id?: string | null;
1149
+ resume_from_checkpoint?: string | null;
1144
1150
  }
1145
1151
  /**
1146
1152
  * Details for synchronization requests.
@@ -1153,6 +1159,10 @@ export interface InternalStartTrainingJobRequest {
1153
1159
  * allow_duplicates: Whether to allow duplicate data points in the synchronization.
1154
1160
  * trim_start_end: Whether to trim the start and end of the episode
1155
1161
  * when synchronizing.
1162
+ * trim_no_movement_at_start_threshold: If set, drop synchronized frames at
1163
+ * the start of the episode while every joint position stays within
1164
+ * this threshold of its value in the first frame. None disables the
1165
+ * trimming. Only applies when joint positions are synchronized.
1156
1166
  */
1157
1167
  export interface SynchronizationDetails {
1158
1168
  frequency: number;
@@ -1164,6 +1174,7 @@ export interface SynchronizationDetails {
1164
1174
  max_delay_s: number;
1165
1175
  allow_duplicates: boolean;
1166
1176
  trim_start_end: boolean;
1177
+ trim_no_movement_at_start_threshold: number | null;
1167
1178
  }
1168
1179
  /**
1169
1180
  * Robot joint state data including positions, velocities, or torques.
@@ -1641,6 +1652,9 @@ export interface SynchronizeRecordingRequest {
1641
1652
  * allow_duplicates: Whether duplicate data points are allowed.
1642
1653
  * trim_start_end: Whether to trim the start and end of the episode
1643
1654
  * when synchronizing.
1655
+ * trim_no_movement_at_start_threshold: Threshold below which leading
1656
+ * frames without joint movement were dropped, or None if the
1657
+ * dataset was synchronized without that trimming.
1644
1658
  */
1645
1659
  export interface SynchronizedDataset {
1646
1660
  id: string;
@@ -1665,6 +1679,7 @@ export interface SynchronizedDataset {
1665
1679
  max_delay_s: number;
1666
1680
  allow_duplicates: boolean;
1667
1681
  trim_start_end?: boolean;
1682
+ trim_no_movement_at_start_threshold?: number | null;
1668
1683
  }
1669
1684
  /**
1670
1685
  * Statistics for a synchronized dataset.
@@ -1758,6 +1773,10 @@ export interface TracesMetadataRequest {
1758
1773
  * gpu_type: The type of GPU used for the job.
1759
1774
  * num_gpus: The number of GPUs used for the job.
1760
1775
  * resumed_at: The time the job was resumed, if applicable.
1776
+ * resumed_from_job_id: The ID of the job whose checkpoint this job started
1777
+ * from, if applicable.
1778
+ * resumed_from_checkpoint: The name of the checkpoint this job started
1779
+ * from, if applicable.
1761
1780
  * previous_training_time: The time spent on the previous training, if applicable.
1762
1781
  * error: Any error message associated with the job, if applicable.
1763
1782
  * resume_points: List of timestamps where the job can be resumed.
@@ -1786,6 +1805,8 @@ export interface TrainingJob {
1786
1805
  num_gpus: number;
1787
1806
  disk_size_gb: number;
1788
1807
  resumed_at?: number | null;
1808
+ resumed_from_job_id?: string | null;
1809
+ resumed_from_checkpoint?: string | null;
1789
1810
  previous_training_time?: number | null;
1790
1811
  error?: string | null;
1791
1812
  resume_points: number[];
@@ -1820,6 +1841,8 @@ export interface TrainingJob {
1820
1841
  * data types to names
1821
1842
  * output_cross_embodiment_description: The robust mapping of robot to output
1822
1843
  * data types to names
1844
+ * resume_from_job_id: Identifier of a completed training job whose latest
1845
+ * checkpoint this job continues from. None trains from scratch.
1823
1846
  */
1824
1847
  export interface TrainingJobRequest {
1825
1848
  dataset_id: string;
@@ -1846,6 +1869,7 @@ export interface TrainingJobRequest {
1846
1869
  };
1847
1870
  };
1848
1871
  };
1872
+ resume_from_job_id?: string | null;
1849
1873
  }
1850
1874
  /**
1851
1875
  * Enumeration of supported data types in the Neuracore system.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuracore/types",
3
- "version": "11.0.0",
3
+ "version": "11.1.0-main.102.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"