@qbraid-core/compute 0.12.3 → 0.12.5
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/src/client.d.ts +6 -0
- package/dist/src/client.js +72 -37
- package/dist/src/client.js.map +1 -1
- package/package.json +2 -2
package/dist/src/client.d.ts
CHANGED
|
@@ -18,33 +18,39 @@ export declare class ComputeManagerClientV1 extends QbraidClientV1 {
|
|
|
18
18
|
* Get compute profiles from the V1 API.
|
|
19
19
|
* @param params - Optional query parameters to filter profiles
|
|
20
20
|
* @returns Array of ComputeProfileV1 objects
|
|
21
|
+
* @throws Error if the API returns an error response
|
|
21
22
|
*/
|
|
22
23
|
getProfiles(params?: ProfileQueryParamsV1): Promise<ComputeProfileV1[]>;
|
|
23
24
|
/**
|
|
24
25
|
* Start a compute server with the specified profile.
|
|
25
26
|
* @param profileSlug - The slug of the profile to use
|
|
26
27
|
* @returns Server start response
|
|
28
|
+
* @throws Error if the API returns an error response
|
|
27
29
|
*/
|
|
28
30
|
startServer(profileSlug: string): Promise<ServerStartResponseV1>;
|
|
29
31
|
/**
|
|
30
32
|
* Stop the current user's compute server.
|
|
31
33
|
* @returns Server stop response
|
|
34
|
+
* @throws Error if the API returns an error response
|
|
32
35
|
*/
|
|
33
36
|
stopServer(): Promise<ServerStopResponseV1>;
|
|
34
37
|
/**
|
|
35
38
|
* Get the status of the current user's compute server.
|
|
36
39
|
* @returns Server status response
|
|
40
|
+
* @throws Error if the API returns an error response
|
|
37
41
|
*/
|
|
38
42
|
getServerStatus(): Promise<ServerStatusResponseV1>;
|
|
39
43
|
/**
|
|
40
44
|
* Get a session token for the current user's compute server.
|
|
41
45
|
* @returns The session token string
|
|
46
|
+
* @throws Error if the API returns an error response
|
|
42
47
|
*/
|
|
43
48
|
getUserLabToken(): Promise<string>;
|
|
44
49
|
/**
|
|
45
50
|
* Get the price of a compute profile.
|
|
46
51
|
* @param profileSlug - The slug of the profile
|
|
47
52
|
* @returns Profile cost information
|
|
53
|
+
* @throws Error if the API returns an error response
|
|
48
54
|
*/
|
|
49
55
|
getProfilePrice(profileSlug: string): Promise<ProfileCost>;
|
|
50
56
|
}
|
package/dist/src/client.js
CHANGED
|
@@ -8,11 +8,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
8
8
|
exports.ComputeManagerClientV1 = exports.ComputeManagerClient = void 0;
|
|
9
9
|
const base_1 = require("@qbraid-core/base");
|
|
10
10
|
const base_2 = require("@qbraid-core/base");
|
|
11
|
-
const
|
|
11
|
+
const base_3 = require("@qbraid-core/base");
|
|
12
12
|
const axios_1 = __importDefault(require("axios"));
|
|
13
13
|
class ComputeManagerClient extends base_1.QbraidClient {
|
|
14
14
|
qBraidURLs;
|
|
15
|
-
constructor(session, hubURL =
|
|
15
|
+
constructor(session, hubURL = base_3.DEFAULT_HUB_URL, labURL = base_3.DEFAULT_LAB_URL) {
|
|
16
16
|
super(session);
|
|
17
17
|
this.qBraidURLs = {
|
|
18
18
|
hub: hubURL,
|
|
@@ -65,80 +65,115 @@ class ComputeManagerClientV1 extends base_2.QbraidClientV1 {
|
|
|
65
65
|
* Get compute profiles from the V1 API.
|
|
66
66
|
* @param params - Optional query parameters to filter profiles
|
|
67
67
|
* @returns Array of ComputeProfileV1 objects
|
|
68
|
+
* @throws Error if the API returns an error response
|
|
68
69
|
*/
|
|
69
70
|
async getProfiles(params) {
|
|
70
71
|
const response = await this.session.client?.get('/compute/profiles', { params });
|
|
71
|
-
|
|
72
|
+
if (response?.data && 'success' in response.data && !response.data.success) {
|
|
73
|
+
const error = response.data.error;
|
|
74
|
+
throw new Error(`${error.code}: ${error.message}`);
|
|
75
|
+
}
|
|
76
|
+
return response?.data && 'data' in response.data ? response.data.data : [];
|
|
72
77
|
}
|
|
73
78
|
/**
|
|
74
79
|
* Start a compute server with the specified profile.
|
|
75
80
|
* @param profileSlug - The slug of the profile to use
|
|
76
81
|
* @returns Server start response
|
|
82
|
+
* @throws Error if the API returns an error response
|
|
77
83
|
*/
|
|
78
84
|
async startServer(profileSlug) {
|
|
79
85
|
const response = await this.session.client?.post('/compute/servers/start', { profileSlug });
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
+
if (response?.data && 'success' in response.data && !response.data.success) {
|
|
87
|
+
const error = response.data.error;
|
|
88
|
+
throw new Error(`${error.code}: ${error.message}`);
|
|
89
|
+
}
|
|
90
|
+
return response?.data && 'data' in response.data
|
|
91
|
+
? response.data.data
|
|
92
|
+
: {
|
|
93
|
+
message: 'Unknown error',
|
|
94
|
+
clusterId: '',
|
|
95
|
+
profile: profileSlug,
|
|
96
|
+
status: 'starting',
|
|
97
|
+
};
|
|
86
98
|
}
|
|
87
99
|
/**
|
|
88
100
|
* Stop the current user's compute server.
|
|
89
101
|
* @returns Server stop response
|
|
102
|
+
* @throws Error if the API returns an error response
|
|
90
103
|
*/
|
|
91
104
|
async stopServer() {
|
|
92
105
|
const response = await this.session.client?.delete('/compute/servers/stop');
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
106
|
+
if (response?.data && 'success' in response.data && !response.data.success) {
|
|
107
|
+
const error = response.data.error;
|
|
108
|
+
throw new Error(`${error.code}: ${error.message}`);
|
|
109
|
+
}
|
|
110
|
+
return response?.data && 'data' in response.data
|
|
111
|
+
? response.data.data
|
|
112
|
+
: {
|
|
113
|
+
message: 'Unknown error',
|
|
114
|
+
clusterId: '',
|
|
115
|
+
status: 'stopping',
|
|
116
|
+
};
|
|
98
117
|
}
|
|
99
118
|
/**
|
|
100
119
|
* Get the status of the current user's compute server.
|
|
101
120
|
* @returns Server status response
|
|
121
|
+
* @throws Error if the API returns an error response
|
|
102
122
|
*/
|
|
103
123
|
async getServerStatus() {
|
|
104
124
|
const response = await this.session.client?.get('/compute/servers/status');
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
125
|
+
if (response?.data && 'success' in response.data && !response.data.success) {
|
|
126
|
+
const error = response.data.error;
|
|
127
|
+
throw new Error(`${error.code}: ${error.message}`);
|
|
128
|
+
}
|
|
129
|
+
return response?.data && 'data' in response.data
|
|
130
|
+
? response.data.data
|
|
131
|
+
: {
|
|
132
|
+
clusterId: '',
|
|
133
|
+
serverRunning: false,
|
|
134
|
+
currentProfile: null,
|
|
135
|
+
serverDetails: null,
|
|
136
|
+
userInfo: {
|
|
137
|
+
name: '',
|
|
138
|
+
admin: false,
|
|
139
|
+
groups: [],
|
|
140
|
+
},
|
|
141
|
+
};
|
|
116
142
|
}
|
|
117
143
|
/**
|
|
118
144
|
* Get a session token for the current user's compute server.
|
|
119
145
|
* @returns The session token string
|
|
146
|
+
* @throws Error if the API returns an error response
|
|
120
147
|
*/
|
|
121
148
|
async getUserLabToken() {
|
|
122
149
|
const response = await this.session.client?.get('/compute/servers/session-token');
|
|
123
|
-
|
|
150
|
+
if (response?.data && 'success' in response.data && !response.data.success) {
|
|
151
|
+
const error = response.data.error;
|
|
152
|
+
throw new Error(`${error.code}: ${error.message}`);
|
|
153
|
+
}
|
|
154
|
+
return response?.data && 'token' in response.data ? (response.data.token?.token ?? '') : '';
|
|
124
155
|
}
|
|
125
156
|
/**
|
|
126
157
|
* Get the price of a compute profile.
|
|
127
158
|
* @param profileSlug - The slug of the profile
|
|
128
159
|
* @returns Profile cost information
|
|
160
|
+
* @throws Error if the API returns an error response
|
|
129
161
|
*/
|
|
130
162
|
async getProfilePrice(profileSlug) {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
163
|
+
const response = await this.session.client?.get(`/compute/profiles/${profileSlug}/price`);
|
|
164
|
+
if (response?.data && 'success' in response.data && !response.data.success) {
|
|
165
|
+
const error = response.data.error;
|
|
166
|
+
throw new Error(`${error.code}: ${error.message}`);
|
|
167
|
+
}
|
|
168
|
+
return response?.data && 'profileSlug' in response.data
|
|
169
|
+
? response.data
|
|
170
|
+
: {
|
|
171
|
+
profileSlug,
|
|
172
|
+
rateDollar: 0,
|
|
173
|
+
rateTimeFrame: 'hour',
|
|
174
|
+
estimatedHourlyCost: 0,
|
|
175
|
+
isFree: true,
|
|
176
|
+
};
|
|
142
177
|
}
|
|
143
178
|
}
|
|
144
179
|
exports.ComputeManagerClientV1 = ComputeManagerClientV1;
|
package/dist/src/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":";AAAA,8CAA8C;AAC9C,uBAAuB;;;;;;AAEvB,4CAAgE;AAChE,4CAAoE;AACpE,
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":";AAAA,8CAA8C;AAC9C,uBAAuB;;;;;;AAEvB,4CAAgE;AAChE,4CAAoE;AACpE,4CAAqE;AACrE,kDAA6C;AAgB7C,MAAa,oBAAqB,SAAQ,mBAAY;IAC5C,UAAU,CAA4B;IAE9C,YACE,OAAsB,EACtB,SAAiB,sBAAe,EAChC,SAAiB,sBAAe;QAEhC,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,UAAU,GAAG;YAChB,GAAG,EAAE,MAAM;YACX,GAAG,EAAE,MAAM;SACZ,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,iBAAiB,CAAC,SAAiB;QACvC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAC5C,iCAAiC,SAAS,EAAE,CAC7C,CAAC;QACF,OAAO,QAAQ,CAAC,IAAI,CAAC;IACvB,CAAC;IAED,KAAK,CAAC,eAAe;QACnB,MAAM,QAAQ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,EAAE,CAAC;IAC9F,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,eAAe,CAAC,WAAmB;QACvC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAE7C,qBAAqB,WAAW,QAAQ,CAAC,CAAC;QAE5C,IAAI,QAAQ,EAAE,IAAI,IAAI,SAAS,IAAI,QAAQ,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YAC3E,MAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC;YAClC,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;QACrD,CAAC;QAED,OAAO,QAAQ,EAAE,IAAI,IAAI,aAAa,IAAI,QAAQ,CAAC,IAAI;YACrD,CAAC,CAAC,QAAQ,CAAC,IAAI;YACf,CAAC,CAAC;gBACE,WAAW;gBACX,UAAU,EAAE,CAAC;gBACb,aAAa,EAAE,MAAM;gBACrB,mBAAmB,EAAE,CAAC;gBACtB,MAAM,EAAE,IAAI;aACb,CAAC;IACR,CAAC;CACF;AAxJD,wDAwJC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qbraid-core/compute",
|
|
3
3
|
"description": "Client for the qBraid Compute service.",
|
|
4
|
-
"version": "0.12.
|
|
4
|
+
"version": "0.12.5",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
7
7
|
"author": "qBraid Development Team",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://qbraid.github.io/qbraid-core-js/modules/compute.html",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@qbraid-core/base": "0.12.
|
|
31
|
+
"@qbraid-core/base": "0.12.5"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"clean": "rimraf dist tsconfig.tsbuildinfo src/*.d.ts src/*.js",
|