@computesdk/buddy 1.0.18 → 1.0.20
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/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -144,7 +144,9 @@ interface BuddyRunCommandOptions extends RunCommandOptions {
|
|
|
144
144
|
* state the caller asked for, so it counts as success.
|
|
145
145
|
*/
|
|
146
146
|
declare function deleteSandbox(client: BuddyApiClient, sandboxId: string): Promise<void>;
|
|
147
|
-
declare const buddy: (config: BuddyConfig) => _computesdk_provider.Provider<BuddySandboxHandle, any, Snapshot, computesdk.Volume
|
|
147
|
+
declare const buddy: (config: BuddyConfig) => _computesdk_provider.Provider<BuddySandboxHandle, any, Snapshot, computesdk.Volume> & {
|
|
148
|
+
readonly sizes: computesdk.InstanceSizeManager;
|
|
149
|
+
};
|
|
148
150
|
/** Buddy takes whole seconds; rounding up keeps the sandbox alive at least as long as asked. */
|
|
149
151
|
declare function toSeconds(ms: number): number;
|
|
150
152
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -144,7 +144,9 @@ interface BuddyRunCommandOptions extends RunCommandOptions {
|
|
|
144
144
|
* state the caller asked for, so it counts as success.
|
|
145
145
|
*/
|
|
146
146
|
declare function deleteSandbox(client: BuddyApiClient, sandboxId: string): Promise<void>;
|
|
147
|
-
declare const buddy: (config: BuddyConfig) => _computesdk_provider.Provider<BuddySandboxHandle, any, Snapshot, computesdk.Volume
|
|
147
|
+
declare const buddy: (config: BuddyConfig) => _computesdk_provider.Provider<BuddySandboxHandle, any, Snapshot, computesdk.Volume> & {
|
|
148
|
+
readonly sizes: computesdk.InstanceSizeManager;
|
|
149
|
+
};
|
|
148
150
|
/** Buddy takes whole seconds; rounding up keeps the sandbox alive at least as long as asked. */
|
|
149
151
|
declare function toSeconds(ms: number): number;
|
|
150
152
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@computesdk/buddy",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"description": "Buddy provider for ComputeSDK - Persistent Ubuntu sandboxes for agents, booting in milliseconds, with preview URLs and snapshots",
|
|
5
5
|
"author": "Lucas Czulak",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@buddy-works/sandbox-sdk": "^0.3.0",
|
|
22
|
-
"@computesdk/provider": "2.1.
|
|
23
|
-
"computesdk": "4.1.
|
|
22
|
+
"@computesdk/provider": "2.1.21",
|
|
23
|
+
"computesdk": "4.1.15"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|
|
26
26
|
"node": "^20.19.0 || >=22.12.0"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"tsup": "^8.0.0",
|
|
53
53
|
"typescript": "^5.0.0",
|
|
54
54
|
"vitest": "^1.0.0",
|
|
55
|
-
"@computesdk/test-utils": "2.0.
|
|
55
|
+
"@computesdk/test-utils": "2.0.5"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "tsup",
|