@computesdk/buddy 1.0.12 → 1.0.14
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 +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as _computesdk_provider from '@computesdk/provider';
|
|
2
2
|
import { RunCommandOptions } from '@computesdk/provider';
|
|
3
|
+
import * as computesdk from 'computesdk';
|
|
3
4
|
import { Snapshot } from 'computesdk';
|
|
4
5
|
import { BuddyApiClient, FileSystem } from '@buddy-works/sandbox-sdk';
|
|
5
6
|
|
|
@@ -142,7 +143,7 @@ interface BuddyRunCommandOptions extends RunCommandOptions {
|
|
|
142
143
|
* state the caller asked for, so it counts as success.
|
|
143
144
|
*/
|
|
144
145
|
declare function deleteSandbox(client: BuddyApiClient, sandboxId: string): Promise<void>;
|
|
145
|
-
declare const buddy: (config: BuddyConfig) => _computesdk_provider.Provider<BuddySandboxHandle, any, Snapshot>;
|
|
146
|
+
declare const buddy: (config: BuddyConfig) => _computesdk_provider.Provider<BuddySandboxHandle, any, Snapshot, computesdk.Volume>;
|
|
146
147
|
/** Buddy takes whole seconds; rounding up keeps the sandbox alive at least as long as asked. */
|
|
147
148
|
declare function toSeconds(ms: number): number;
|
|
148
149
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as _computesdk_provider from '@computesdk/provider';
|
|
2
2
|
import { RunCommandOptions } from '@computesdk/provider';
|
|
3
|
+
import * as computesdk from 'computesdk';
|
|
3
4
|
import { Snapshot } from 'computesdk';
|
|
4
5
|
import { BuddyApiClient, FileSystem } from '@buddy-works/sandbox-sdk';
|
|
5
6
|
|
|
@@ -142,7 +143,7 @@ interface BuddyRunCommandOptions extends RunCommandOptions {
|
|
|
142
143
|
* state the caller asked for, so it counts as success.
|
|
143
144
|
*/
|
|
144
145
|
declare function deleteSandbox(client: BuddyApiClient, sandboxId: string): Promise<void>;
|
|
145
|
-
declare const buddy: (config: BuddyConfig) => _computesdk_provider.Provider<BuddySandboxHandle, any, Snapshot>;
|
|
146
|
+
declare const buddy: (config: BuddyConfig) => _computesdk_provider.Provider<BuddySandboxHandle, any, Snapshot, computesdk.Volume>;
|
|
146
147
|
/** Buddy takes whole seconds; rounding up keeps the sandbox alive at least as long as asked. */
|
|
147
148
|
declare function toSeconds(ms: number): number;
|
|
148
149
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@computesdk/buddy",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
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.1.10",
|
|
22
|
-
"computesdk": "
|
|
23
|
-
"
|
|
22
|
+
"@computesdk/provider": "2.1.16",
|
|
23
|
+
"computesdk": "4.1.13"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|
|
26
26
|
"node": "^20.19.0 || >=22.12.0"
|