@daocloud-proto/infery 0.0.0-dev-bcc08700 → 0.0.0-dev-b798e4a8

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.
@@ -15,6 +15,16 @@ type OneOf<T> =
15
15
  (K extends string & keyof T ? { [k in K]: T[K] } & Absent<T, K>
16
16
  : never)
17
17
  : never);
18
+
19
+ export enum ComponentStatus {
20
+ COMPONENT_STATUS_UNSPECIFIED = "COMPONENT_STATUS_UNSPECIFIED",
21
+ COMPONENT_STATUS_UNKNOWN = "COMPONENT_STATUS_UNKNOWN",
22
+ COMPONENT_STATUS_NOT_INSTALLED = "COMPONENT_STATUS_NOT_INSTALLED",
23
+ COMPONENT_STATUS_PENDING = "COMPONENT_STATUS_PENDING",
24
+ COMPONENT_STATUS_READY = "COMPONENT_STATUS_READY",
25
+ COMPONENT_STATUS_FAILED = "COMPONENT_STATUS_FAILED",
26
+ }
27
+
18
28
  export type ListWorkspaceRequest = {
19
29
  cluster?: string
20
30
  }
@@ -36,12 +46,20 @@ export type ListClusterRequest = {
36
46
 
37
47
  type BaseCluster = {
38
48
  name?: string
49
+ components?: Component[]
39
50
  }
40
51
 
41
52
  export type Cluster = BaseCluster
42
53
  & OneOf<{ gpuVendorMatched: boolean }>
43
54
  & OneOf<{ gpuModelMatched: boolean }>
44
55
 
56
+ export type Component = {
57
+ name?: string
58
+ installedVersion?: string
59
+ status?: ComponentStatus
60
+ message?: string
61
+ }
62
+
45
63
  export type ListClustersResponse = {
46
64
  items?: Cluster[]
47
65
  }
@@ -121,6 +139,9 @@ export type ListClusterRDMANetworksResponse = {
121
139
 
122
140
  export type ListImagesRequest = {
123
141
  workspace?: number
142
+ stack?: InferyCommonCommon.InferenceStack
143
+ disaggregationMode?: InferyCommonCommon.DisaggregationMode
144
+ component?: string
124
145
  }
125
146
 
126
147
  export type ImageOption = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/infery",
3
- "version": "v0.0.0-dev-bcc08700",
3
+ "version": "v0.0.0-dev-b798e4a8",
4
4
  "description": "Infery frontend protobuf SDK",
5
5
  "license": "ISC"
6
6
  }