@daytonaio/sdk 0.17.0-alpha.1 → 0.17.0-alpha.2
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/Sandbox.js +1 -1
- package/dist/index.d.ts +2 -1
- package/package.json +2 -2
package/dist/Sandbox.js
CHANGED
|
@@ -176,7 +176,7 @@ class Sandbox {
|
|
|
176
176
|
return;
|
|
177
177
|
}
|
|
178
178
|
if (state === 'error') {
|
|
179
|
-
throw new DaytonaError_1.DaytonaError(`Sandbox failed to start with status: ${state}, error reason: ${response.data.errorReason}`);
|
|
179
|
+
throw new DaytonaError_1.DaytonaError(`Sandbox ${this.id} failed to start with status: ${state}, error reason: ${response.data.errorReason}`);
|
|
180
180
|
}
|
|
181
181
|
await new Promise((resolve) => setTimeout(resolve, checkInterval));
|
|
182
182
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -37,8 +37,9 @@ export declare const WorkspaceState: {
|
|
|
37
37
|
readonly STOPPED: "stopped";
|
|
38
38
|
readonly STARTING: "starting";
|
|
39
39
|
readonly STOPPING: "stopping";
|
|
40
|
-
readonly RESIZING: "resizing";
|
|
41
40
|
readonly ERROR: "error";
|
|
41
|
+
readonly PENDING_BUILD: "pending_build";
|
|
42
|
+
readonly BUILDING_IMAGE: "building_image";
|
|
42
43
|
readonly UNKNOWN: "unknown";
|
|
43
44
|
readonly PULLING_IMAGE: "pulling_image";
|
|
44
45
|
readonly ARCHIVING: "archiving";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daytonaio/sdk",
|
|
3
|
-
"version": "0.17.0-alpha.
|
|
3
|
+
"version": "0.17.0-alpha.2",
|
|
4
4
|
"description": "Daytona client library for AI Agents",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"typescript": "^5.0.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@daytonaio/api-client": "^0.18.
|
|
37
|
+
"@daytonaio/api-client": "^0.18.1-alpha.0",
|
|
38
38
|
"uuid": "^11.0.3",
|
|
39
39
|
"@dotenvx/dotenvx": "^1.25.1",
|
|
40
40
|
"axios": "^1.6.0"
|