@computesdk/createos-sandbox 0.1.25 → 0.1.26

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 CHANGED
@@ -69,6 +69,8 @@ declare function toCreateRequest(opts: CreateosCreateOptions, shape: string, roo
69
69
  declare function buildScript(command: string, options?: RunCommandOptions): string;
70
70
  /** Parse `ls -lA --time-style=+%s` output into ComputeSDK FileEntry rows. */
71
71
  declare function parseLsOutput(stdout: string): FileEntry[];
72
- declare const createosSandbox: (config: CreateosConfig) => _computesdk_provider.Provider<Sandbox, any, any, _computesdk_provider.Volume>;
72
+ declare const createosSandbox: (config: CreateosConfig) => _computesdk_provider.Provider<Sandbox, any, any, _computesdk_provider.Volume> & {
73
+ readonly sizes: _computesdk_provider.InstanceSizeManager;
74
+ };
73
75
 
74
76
  export { type CreateosConfig, type CreateosCreateOptions, buildScript, createosSandbox, defaultShape, mapStatus, parseLsOutput, pickShape, resolveSandboxPath, toCreateRequest, toForkRequest };
package/dist/index.d.ts CHANGED
@@ -69,6 +69,8 @@ declare function toCreateRequest(opts: CreateosCreateOptions, shape: string, roo
69
69
  declare function buildScript(command: string, options?: RunCommandOptions): string;
70
70
  /** Parse `ls -lA --time-style=+%s` output into ComputeSDK FileEntry rows. */
71
71
  declare function parseLsOutput(stdout: string): FileEntry[];
72
- declare const createosSandbox: (config: CreateosConfig) => _computesdk_provider.Provider<Sandbox, any, any, _computesdk_provider.Volume>;
72
+ declare const createosSandbox: (config: CreateosConfig) => _computesdk_provider.Provider<Sandbox, any, any, _computesdk_provider.Volume> & {
73
+ readonly sizes: _computesdk_provider.InstanceSizeManager;
74
+ };
73
75
 
74
76
  export { type CreateosConfig, type CreateosCreateOptions, buildScript, createosSandbox, defaultShape, mapStatus, parseLsOutput, pickShape, resolveSandboxPath, toCreateRequest, toForkRequest };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@computesdk/createos-sandbox",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "description": "CreateOS provider for ComputeSDK — NodeOps VM sandboxes with pause/resume/fork snapshots",
5
5
  "author": "NodeOps Inc.",
6
6
  "license": "MIT",
@@ -22,7 +22,7 @@
22
22
  ],
23
23
  "dependencies": {
24
24
  "@nodeops-createos/sandbox": "^0.8.1",
25
- "@computesdk/provider": "2.1.20"
25
+ "@computesdk/provider": "2.1.21"
26
26
  },
27
27
  "keywords": [
28
28
  "code-execution",
@@ -51,8 +51,8 @@
51
51
  "tsup": "^8.0.0",
52
52
  "typescript": "^5.0.0",
53
53
  "vitest": "^1.0.0",
54
- "@computesdk/test-utils": "2.0.5",
55
- "computesdk": "4.1.14"
54
+ "computesdk": "4.1.15",
55
+ "@computesdk/test-utils": "2.0.5"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "tsup",