@neuracore/types 6.7.0 → 6.9.0

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.
@@ -694,6 +694,39 @@ export interface EndEffectorPoseDataStats {
694
694
  type: Type5;
695
695
  pose: DataItemStats;
696
696
  }
697
+ /**
698
+ * Response model for endpoint operations.
699
+ *
700
+ * Attributes:
701
+ * id: Unique identifier for the endpoint
702
+ * name: Display name of the endpoint
703
+ * training_job_id: ID of the training job used for this endpoint
704
+ * status: Current status of the endpoint
705
+ * gpu_type: Type of GPU used by the endpoint
706
+ * create_time: Timestamp when the endpoint was created
707
+ * update_time: Timestamp when the endpoint was last updated
708
+ * endpoint_url: URL for accessing the endpoint (if active)
709
+ * error: Error message if the endpoint failed
710
+ * error_code: Error code if the endpoint failed
711
+ * expiration_time: Timestamp when the endpoint expires (if set)
712
+ * cloud_compute_job_id: ID of the cloud compute job running this endpoint
713
+ * zone: The GCP zone where the endpoint is running
714
+ */
715
+ export interface Endpoint {
716
+ id: string;
717
+ name: string;
718
+ training_job_id: string;
719
+ zone?: string | null;
720
+ status: EndpointStatus;
721
+ gpu_type?: GPUType1;
722
+ create_time: number;
723
+ update_time?: number | null;
724
+ endpoint_url?: string | null;
725
+ error?: string | null;
726
+ error_code?: number | null;
727
+ expiration_time?: number | null;
728
+ cloud_compute_job_id?: string | null;
729
+ }
697
730
  /**
698
731
  * Description of a single episode with statistics and counts.
699
732
  *
@@ -1163,10 +1196,16 @@ export interface StreamAliveResponse {
1163
1196
  * Attributes:
1164
1197
  * synchronized_dataset_id: Unique identifier for the synced dataset.
1165
1198
  * num_synchronized_demonstrations: Number of demonstrations synchronized so far.
1199
+ * has_failures: Whether any recording synchronization has failed.
1200
+ * num_failed_recordings: Number of failed recordings.
1201
+ * failed_recording_ids: IDs of recordings that failed synchronization.
1166
1202
  */
1167
1203
  export interface SynchronizationProgress {
1168
1204
  synchronized_dataset_id: string;
1169
1205
  num_synchronized_demonstrations: number;
1206
+ has_failures?: boolean;
1207
+ num_failed_recordings?: number;
1208
+ failed_recording_ids?: string[];
1170
1209
  }
1171
1210
  /**
1172
1211
  * Request model for synchronizing a dataset.
@@ -1340,7 +1379,7 @@ export interface TrainingJob {
1340
1379
  algorithm_config: {
1341
1380
  [k: string]: unknown;
1342
1381
  };
1343
- gpu_type: GPUType1;
1382
+ gpu_type: GPUType2;
1344
1383
  num_gpus: number;
1345
1384
  resumed_at?: number | null;
1346
1385
  previous_training_time?: number | null;
@@ -1532,7 +1571,7 @@ export declare enum DatasetTypeConfig {
1532
1571
  TFDS = "TFDS"
1533
1572
  }
1534
1573
  /**
1535
- * GPU types available for training.
1574
+ * GPU types available for training and deployment.
1536
1575
  */
1537
1576
  export declare enum GPUType {
1538
1577
  NVIDIA_H100_80GB = "NVIDIA_H100_80GB",
@@ -1553,6 +1592,28 @@ export declare enum Type4 {
1553
1592
  export declare enum Type5 {
1554
1593
  EndEffectorPoseDataStats = "EndEffectorPoseDataStats"
1555
1594
  }
1595
+ /**
1596
+ * Model endpoint status.
1597
+ */
1598
+ export declare enum EndpointStatus {
1599
+ creating = "creating",
1600
+ active = "active",
1601
+ failed = "failed",
1602
+ deactivated = "deactivated"
1603
+ }
1604
+ /**
1605
+ * GPU types available for training and deployment.
1606
+ */
1607
+ export declare enum GPUType1 {
1608
+ NVIDIA_H100_80GB = "NVIDIA_H100_80GB",
1609
+ NVIDIA_A100_80GB = "NVIDIA_A100_80GB",
1610
+ NVIDIA_TESLA_A100 = "NVIDIA_TESLA_A100",
1611
+ NVIDIA_TESLA_V100 = "NVIDIA_TESLA_V100",
1612
+ NVIDIA_TESLA_P100 = "NVIDIA_TESLA_P100",
1613
+ NVIDIA_TESLA_T4 = "NVIDIA_TESLA_T4",
1614
+ NVIDIA_TESLA_P4 = "NVIDIA_TESLA_P4",
1615
+ NVIDIA_L4 = "NVIDIA_L4"
1616
+ }
1556
1617
  /**
1557
1618
  * Enumerates the types of signaling messages for WebRTC handshakes.
1558
1619
  *
@@ -1664,9 +1725,9 @@ export declare enum TrainingJobStatus {
1664
1725
  CANCELLED = "CANCELLED"
1665
1726
  }
1666
1727
  /**
1667
- * GPU types available for training.
1728
+ * GPU types available for training and deployment.
1668
1729
  */
1669
- export declare enum GPUType1 {
1730
+ export declare enum GPUType2 {
1670
1731
  NVIDIA_H100_80GB = "NVIDIA_H100_80GB",
1671
1732
  NVIDIA_A100_80GB = "NVIDIA_A100_80GB",
1672
1733
  NVIDIA_TESLA_A100 = "NVIDIA_TESLA_A100",
@@ -6,7 +6,7 @@
6
6
  /* Do not modify it by hand - just update the pydantic models and then re-run the script
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.GPUType1 = exports.TrainingJobStatus = exports.RecordingNotificationType = exports.RecordingDataTraceStatus = exports.Type16 = exports.Type15 = exports.Type14 = exports.RecordingUploadMethod = exports.PendingRecordingStatus = exports.RecordingStatus = exports.Type13 = exports.VideoFormat = exports.Type12 = exports.Type11 = exports.Type10 = exports.Type9 = exports.Type8 = exports.Type7 = exports.Type6 = exports.MessageType = exports.Type5 = exports.Type4 = exports.Type3 = exports.GPUType = exports.DatasetTypeConfig = exports.Type2 = exports.JointPositionTypeConfig = exports.VisualJointTypeConfig = exports.LanguageConfig = exports.AngleConfig1 = exports.EulerOrderConfig = exports.QuaternionOrderConfig = exports.RotationConfig = exports.PoseConfig = exports.DistanceUnitsConfig = exports.TorqueUnitsConfig = exports.AngleConfig = exports.ImageChannelOrderConfig = exports.ImageConventionConfig = exports.Type1 = exports.Type = exports.DataType = void 0;
9
+ exports.GPUType2 = exports.TrainingJobStatus = exports.RecordingNotificationType = exports.RecordingDataTraceStatus = exports.Type16 = exports.Type15 = exports.Type14 = exports.RecordingUploadMethod = exports.PendingRecordingStatus = exports.RecordingStatus = exports.Type13 = exports.VideoFormat = exports.Type12 = exports.Type11 = exports.Type10 = exports.Type9 = exports.Type8 = exports.Type7 = exports.Type6 = exports.MessageType = exports.GPUType1 = exports.EndpointStatus = exports.Type5 = exports.Type4 = exports.Type3 = exports.GPUType = exports.DatasetTypeConfig = exports.Type2 = exports.JointPositionTypeConfig = exports.VisualJointTypeConfig = exports.LanguageConfig = exports.AngleConfig1 = exports.EulerOrderConfig = exports.QuaternionOrderConfig = exports.RotationConfig = exports.PoseConfig = exports.DistanceUnitsConfig = exports.TorqueUnitsConfig = exports.AngleConfig = exports.ImageChannelOrderConfig = exports.ImageConventionConfig = exports.Type1 = exports.Type = exports.DataType = void 0;
10
10
  /**
11
11
  * Enumeration of supported data types in the Neuracore system.
12
12
  *
@@ -162,7 +162,7 @@ var DatasetTypeConfig;
162
162
  DatasetTypeConfig["TFDS"] = "TFDS";
163
163
  })(DatasetTypeConfig || (exports.DatasetTypeConfig = DatasetTypeConfig = {}));
164
164
  /**
165
- * GPU types available for training.
165
+ * GPU types available for training and deployment.
166
166
  */
167
167
  var GPUType;
168
168
  (function (GPUType) {
@@ -187,6 +187,30 @@ var Type5;
187
187
  (function (Type5) {
188
188
  Type5["EndEffectorPoseDataStats"] = "EndEffectorPoseDataStats";
189
189
  })(Type5 || (exports.Type5 = Type5 = {}));
190
+ /**
191
+ * Model endpoint status.
192
+ */
193
+ var EndpointStatus;
194
+ (function (EndpointStatus) {
195
+ EndpointStatus["creating"] = "creating";
196
+ EndpointStatus["active"] = "active";
197
+ EndpointStatus["failed"] = "failed";
198
+ EndpointStatus["deactivated"] = "deactivated";
199
+ })(EndpointStatus || (exports.EndpointStatus = EndpointStatus = {}));
200
+ /**
201
+ * GPU types available for training and deployment.
202
+ */
203
+ var GPUType1;
204
+ (function (GPUType1) {
205
+ GPUType1["NVIDIA_H100_80GB"] = "NVIDIA_H100_80GB";
206
+ GPUType1["NVIDIA_A100_80GB"] = "NVIDIA_A100_80GB";
207
+ GPUType1["NVIDIA_TESLA_A100"] = "NVIDIA_TESLA_A100";
208
+ GPUType1["NVIDIA_TESLA_V100"] = "NVIDIA_TESLA_V100";
209
+ GPUType1["NVIDIA_TESLA_P100"] = "NVIDIA_TESLA_P100";
210
+ GPUType1["NVIDIA_TESLA_T4"] = "NVIDIA_TESLA_T4";
211
+ GPUType1["NVIDIA_TESLA_P4"] = "NVIDIA_TESLA_P4";
212
+ GPUType1["NVIDIA_L4"] = "NVIDIA_L4";
213
+ })(GPUType1 || (exports.GPUType1 = GPUType1 = {}));
190
214
  /**
191
215
  * Enumerates the types of signaling messages for WebRTC handshakes.
192
216
  *
@@ -317,16 +341,16 @@ var TrainingJobStatus;
317
341
  TrainingJobStatus["CANCELLED"] = "CANCELLED";
318
342
  })(TrainingJobStatus || (exports.TrainingJobStatus = TrainingJobStatus = {}));
319
343
  /**
320
- * GPU types available for training.
344
+ * GPU types available for training and deployment.
321
345
  */
322
- var GPUType1;
323
- (function (GPUType1) {
324
- GPUType1["NVIDIA_H100_80GB"] = "NVIDIA_H100_80GB";
325
- GPUType1["NVIDIA_A100_80GB"] = "NVIDIA_A100_80GB";
326
- GPUType1["NVIDIA_TESLA_A100"] = "NVIDIA_TESLA_A100";
327
- GPUType1["NVIDIA_TESLA_V100"] = "NVIDIA_TESLA_V100";
328
- GPUType1["NVIDIA_TESLA_P100"] = "NVIDIA_TESLA_P100";
329
- GPUType1["NVIDIA_TESLA_T4"] = "NVIDIA_TESLA_T4";
330
- GPUType1["NVIDIA_TESLA_P4"] = "NVIDIA_TESLA_P4";
331
- GPUType1["NVIDIA_L4"] = "NVIDIA_L4";
332
- })(GPUType1 || (exports.GPUType1 = GPUType1 = {}));
346
+ var GPUType2;
347
+ (function (GPUType2) {
348
+ GPUType2["NVIDIA_H100_80GB"] = "NVIDIA_H100_80GB";
349
+ GPUType2["NVIDIA_A100_80GB"] = "NVIDIA_A100_80GB";
350
+ GPUType2["NVIDIA_TESLA_A100"] = "NVIDIA_TESLA_A100";
351
+ GPUType2["NVIDIA_TESLA_V100"] = "NVIDIA_TESLA_V100";
352
+ GPUType2["NVIDIA_TESLA_P100"] = "NVIDIA_TESLA_P100";
353
+ GPUType2["NVIDIA_TESLA_T4"] = "NVIDIA_TESLA_T4";
354
+ GPUType2["NVIDIA_TESLA_P4"] = "NVIDIA_TESLA_P4";
355
+ GPUType2["NVIDIA_L4"] = "NVIDIA_L4";
356
+ })(GPUType2 || (exports.GPUType2 = GPUType2 = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuracore/types",
3
- "version": "6.7.0",
3
+ "version": "6.9.0",
4
4
  "description": "Shared TypeScript type definitions for Neuracore robotics platform",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",