@computesdk/buddy 1.0.23 → 1.0.25
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 -3
- package/dist/index.d.ts +2 -3
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as computesdk from 'computesdk';
|
|
2
2
|
import { Snapshot } from 'computesdk';
|
|
3
|
-
import * as _computesdk_provider from '@computesdk/provider';
|
|
4
|
-
import { RunCommandOptions } from '@computesdk/provider';
|
|
5
3
|
import { BuddyApiClient, FileSystem } from '@buddy-works/sandbox-sdk';
|
|
4
|
+
import { RunCommandOptions } from '@computesdk/provider';
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* Shared types, config resolution and SDK plumbing for the Buddy provider.
|
|
@@ -151,7 +150,7 @@ interface BuddyRunCommandOptions extends RunCommandOptions {
|
|
|
151
150
|
* state the caller asked for, so it counts as success.
|
|
152
151
|
*/
|
|
153
152
|
declare function deleteSandbox(client: BuddyApiClient, sandboxId: string): Promise<void>;
|
|
154
|
-
declare const buddy: (config: BuddyConfig &
|
|
153
|
+
declare const buddy: (config: BuddyConfig & computesdk.ProcessRuntimeOptions) => computesdk.Provider<BuddySandboxHandle, any, Snapshot, computesdk.Volume> & {
|
|
155
154
|
readonly sizes: computesdk.InstanceSizeManager;
|
|
156
155
|
};
|
|
157
156
|
/** Buddy takes whole seconds; rounding up keeps the sandbox alive at least as long as asked. */
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as computesdk from 'computesdk';
|
|
2
2
|
import { Snapshot } from 'computesdk';
|
|
3
|
-
import * as _computesdk_provider from '@computesdk/provider';
|
|
4
|
-
import { RunCommandOptions } from '@computesdk/provider';
|
|
5
3
|
import { BuddyApiClient, FileSystem } from '@buddy-works/sandbox-sdk';
|
|
4
|
+
import { RunCommandOptions } from '@computesdk/provider';
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* Shared types, config resolution and SDK plumbing for the Buddy provider.
|
|
@@ -151,7 +150,7 @@ interface BuddyRunCommandOptions extends RunCommandOptions {
|
|
|
151
150
|
* state the caller asked for, so it counts as success.
|
|
152
151
|
*/
|
|
153
152
|
declare function deleteSandbox(client: BuddyApiClient, sandboxId: string): Promise<void>;
|
|
154
|
-
declare const buddy: (config: BuddyConfig &
|
|
153
|
+
declare const buddy: (config: BuddyConfig & computesdk.ProcessRuntimeOptions) => computesdk.Provider<BuddySandboxHandle, any, Snapshot, computesdk.Volume> & {
|
|
155
154
|
readonly sizes: computesdk.InstanceSizeManager;
|
|
156
155
|
};
|
|
157
156
|
/** Buddy takes whole seconds; rounding up keeps the sandbox alive at least as long as asked. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@computesdk/buddy",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.25",
|
|
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
|
-
"
|
|
23
|
-
"computesdk": "
|
|
22
|
+
"computesdk": "4.1.19",
|
|
23
|
+
"@computesdk/provider": "2.1.25"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|
|
26
26
|
"node": "^20.19.0 || >=22.12.0"
|