@run-cloud/sdk 0.5.1 → 0.6.0
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/README.md +32 -0
- package/dist/compat/blaxel.d.ts +49 -0
- package/dist/compat/blaxel.js +85 -0
- package/dist/compat/blaxel.js.map +1 -0
- package/dist/compat/cloudflare.d.ts +32 -0
- package/dist/compat/cloudflare.js +66 -0
- package/dist/compat/cloudflare.js.map +1 -0
- package/dist/compat/codesandbox.d.ts +72 -0
- package/dist/compat/codesandbox.js +138 -0
- package/dist/compat/codesandbox.js.map +1 -0
- package/dist/compat/common.d.ts +40 -0
- package/dist/compat/common.js +85 -0
- package/dist/compat/common.js.map +1 -0
- package/dist/compat/daytona.d.ts +49 -0
- package/dist/compat/daytona.js +87 -0
- package/dist/compat/daytona.js.map +1 -0
- package/dist/compat/e2b.d.ts +65 -0
- package/dist/compat/e2b.js +106 -0
- package/dist/compat/e2b.js.map +1 -0
- package/dist/compat/fly.d.ts +28 -0
- package/dist/compat/fly.js +56 -0
- package/dist/compat/fly.js.map +1 -0
- package/dist/compat/modal.d.ts +77 -0
- package/dist/compat/modal.js +141 -0
- package/dist/compat/modal.js.map +1 -0
- package/dist/compat/sprites.d.ts +24 -0
- package/dist/compat/sprites.js +58 -0
- package/dist/compat/sprites.js.map +1 -0
- package/dist/compat/vercel.d.ts +46 -0
- package/dist/compat/vercel.js +74 -0
- package/dist/compat/vercel.js.map +1 -0
- package/package.json +42 -2
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { compatibilityClient, createNative, listNative, unsupported, } from "./common.js";
|
|
2
|
+
export class Sprite {
|
|
3
|
+
native;
|
|
4
|
+
name;
|
|
5
|
+
constructor(native, name) {
|
|
6
|
+
this.native = native;
|
|
7
|
+
this.name = name;
|
|
8
|
+
}
|
|
9
|
+
async exec(command, args = []) {
|
|
10
|
+
return await this.native.exec([command, ...args]);
|
|
11
|
+
}
|
|
12
|
+
run(command, args = []) {
|
|
13
|
+
return this.exec(command, args);
|
|
14
|
+
}
|
|
15
|
+
filesystem() {
|
|
16
|
+
return unsupported("Fly Sprites", "filesystem writes and listing");
|
|
17
|
+
}
|
|
18
|
+
url() {
|
|
19
|
+
return unsupported("Fly Sprites", "public URLs", "run.cloud public port capabilities are not available in the SDK yet");
|
|
20
|
+
}
|
|
21
|
+
async delete() {
|
|
22
|
+
await this.native.destroy();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export class SpritesClient {
|
|
26
|
+
options;
|
|
27
|
+
constructor(options = {}) {
|
|
28
|
+
this.options = options;
|
|
29
|
+
}
|
|
30
|
+
async find(name) {
|
|
31
|
+
return (await listNative(compatibilityClient(this.options))).find((sandbox) => sandbox.name === name);
|
|
32
|
+
}
|
|
33
|
+
async createSprite(name, options = {}) {
|
|
34
|
+
const client = compatibilityClient(this.options);
|
|
35
|
+
return new Sprite(await createNative(client, {
|
|
36
|
+
name,
|
|
37
|
+
image: options.image,
|
|
38
|
+
region: options.region,
|
|
39
|
+
}), name);
|
|
40
|
+
}
|
|
41
|
+
async sprite(name) {
|
|
42
|
+
const existing = await this.find(name);
|
|
43
|
+
return existing ? new Sprite(existing, name) : await this.createSprite(name);
|
|
44
|
+
}
|
|
45
|
+
async getSprite(name) {
|
|
46
|
+
const existing = await this.find(name);
|
|
47
|
+
if (!existing)
|
|
48
|
+
throw new Error(`no sprite named ${name}`);
|
|
49
|
+
return new Sprite(existing, name);
|
|
50
|
+
}
|
|
51
|
+
async listSprites() {
|
|
52
|
+
return (await listNative(compatibilityClient(this.options))).map((sandbox) => new Sprite(sandbox, sandbox.name));
|
|
53
|
+
}
|
|
54
|
+
async destroySprite(name) {
|
|
55
|
+
await (await this.getSprite(name)).delete();
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=sprites.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sprites.js","sourceRoot":"","sources":["../../src/compat/sprites.ts"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
export interface CreateOpts extends CompatibilityClientOptions {
|
|
3
|
+
runtime?: string;
|
|
4
|
+
image?: string;
|
|
5
|
+
resources?: {
|
|
6
|
+
vcpus?: number;
|
|
7
|
+
};
|
|
8
|
+
timeout?: number;
|
|
9
|
+
region?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface CommandFinished {
|
|
12
|
+
exitCode: number;
|
|
13
|
+
stdout(): Promise<string>;
|
|
14
|
+
stderr(): Promise<string>;
|
|
15
|
+
output(stream?: "stdout" | "stderr" | "both"): Promise<string>;
|
|
16
|
+
}
|
|
17
|
+
export declare class Sandbox {
|
|
18
|
+
readonly native: NativeSandbox;
|
|
19
|
+
private readonly client;
|
|
20
|
+
readonly runtime?: string | undefined;
|
|
21
|
+
private constructor();
|
|
22
|
+
static create(options?: CreateOpts): Promise<Sandbox>;
|
|
23
|
+
static get(id: string | {
|
|
24
|
+
id?: string;
|
|
25
|
+
name?: string;
|
|
26
|
+
}, options?: CompatibilityClientOptions): Promise<Sandbox>;
|
|
27
|
+
static list(options?: CompatibilityClientOptions): Promise<Sandbox[]>;
|
|
28
|
+
get sandboxId(): string;
|
|
29
|
+
get name(): string;
|
|
30
|
+
runCommand(command: string, args?: string[], options?: {
|
|
31
|
+
cwd?: string;
|
|
32
|
+
env?: Record<string, string>;
|
|
33
|
+
}): Promise<CommandFinished>;
|
|
34
|
+
runCommandDetached(): never;
|
|
35
|
+
readFileToBuffer(options: {
|
|
36
|
+
path: string;
|
|
37
|
+
}): Promise<Uint8Array>;
|
|
38
|
+
readFile(options: {
|
|
39
|
+
path: string;
|
|
40
|
+
}): Promise<string>;
|
|
41
|
+
writeFiles(): never;
|
|
42
|
+
mkDir(): never;
|
|
43
|
+
domain(): never;
|
|
44
|
+
stop(): Promise<void>;
|
|
45
|
+
delete(): Promise<void>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { bytesToText, compatibilityClient, createNative, getNative, listNative, unsupported, } from "./common.js";
|
|
2
|
+
function finished(exitCode, stdout, stderr) {
|
|
3
|
+
return {
|
|
4
|
+
exitCode,
|
|
5
|
+
stdout: async () => stdout,
|
|
6
|
+
stderr: async () => stderr,
|
|
7
|
+
output: async (stream = "both") => stream === "stdout" ? stdout : stream === "stderr" ? stderr : stdout + stderr,
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export class Sandbox {
|
|
11
|
+
native;
|
|
12
|
+
client;
|
|
13
|
+
runtime;
|
|
14
|
+
constructor(native, client, runtime) {
|
|
15
|
+
this.native = native;
|
|
16
|
+
this.client = client;
|
|
17
|
+
this.runtime = runtime;
|
|
18
|
+
}
|
|
19
|
+
static async create(options = {}) {
|
|
20
|
+
const client = compatibilityClient(options);
|
|
21
|
+
return new Sandbox(await createNative(client, {
|
|
22
|
+
image: options.image,
|
|
23
|
+
cpu: options.resources?.vcpus,
|
|
24
|
+
timeoutSeconds: options.timeout ? Math.ceil(options.timeout / 1000) : undefined,
|
|
25
|
+
region: options.region,
|
|
26
|
+
}), client, options.runtime);
|
|
27
|
+
}
|
|
28
|
+
static async get(id, options = {}) {
|
|
29
|
+
const client = compatibilityClient(options);
|
|
30
|
+
const sandboxId = typeof id === "string" ? id : id.id ?? id.name;
|
|
31
|
+
if (!sandboxId)
|
|
32
|
+
throw new Error("sandbox id is required");
|
|
33
|
+
return new Sandbox(await getNative(client, sandboxId), client);
|
|
34
|
+
}
|
|
35
|
+
static async list(options = {}) {
|
|
36
|
+
const client = compatibilityClient(options);
|
|
37
|
+
return (await listNative(client)).map((sandbox) => new Sandbox(sandbox, client));
|
|
38
|
+
}
|
|
39
|
+
get sandboxId() {
|
|
40
|
+
return this.native.id;
|
|
41
|
+
}
|
|
42
|
+
get name() {
|
|
43
|
+
return this.native.name || this.native.id;
|
|
44
|
+
}
|
|
45
|
+
async runCommand(command, args = [], options = {}) {
|
|
46
|
+
const result = await this.native.exec([command, ...args], options);
|
|
47
|
+
return finished(result.exitCode, result.stdout, result.stderr);
|
|
48
|
+
}
|
|
49
|
+
runCommandDetached() {
|
|
50
|
+
return unsupported("Vercel Sandbox", "detached commands");
|
|
51
|
+
}
|
|
52
|
+
async readFileToBuffer(options) {
|
|
53
|
+
return await this.native.readFile(options.path);
|
|
54
|
+
}
|
|
55
|
+
async readFile(options) {
|
|
56
|
+
return bytesToText(await this.native.readFile(options.path));
|
|
57
|
+
}
|
|
58
|
+
writeFiles() {
|
|
59
|
+
return unsupported("Vercel Sandbox", "file writes", "use an image or a command that writes the content");
|
|
60
|
+
}
|
|
61
|
+
mkDir() {
|
|
62
|
+
return unsupported("Vercel Sandbox", "directory creation");
|
|
63
|
+
}
|
|
64
|
+
domain() {
|
|
65
|
+
return unsupported("Vercel Sandbox", "domain", "run.cloud public port capabilities are not available in the SDK yet");
|
|
66
|
+
}
|
|
67
|
+
async stop() {
|
|
68
|
+
await this.native.destroy();
|
|
69
|
+
}
|
|
70
|
+
async delete() {
|
|
71
|
+
await this.native.destroy();
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=vercel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vercel.js","sourceRoot":"","sources":["../../src/compat/vercel.ts"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,EACX,mBAAmB,EACnB,YAAY,EACZ,SAAS,EACT,UAAU,EAGV,WAAW,GACZ,MAAM,aAAa,CAAC;AAiBrB,SAAS,QAAQ,CAAC,QAAgB,EAAE,MAAc,EAAE,MAAc;IAChE,OAAO;QACL,QAAQ;QACR,MAAM,EAAE,KAAK,IAAI,EAAE,CAAC,MAAM;QAC1B,MAAM,EAAE,KAAK,IAAI,EAAE,CAAC,MAAM;QAC1B,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,CAChC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,M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CAAC,gBAAgB,EAAE,oBAAoB,CAAC,CAAC;IAC7D,CAAC;IAED,MAAM;QACJ,OAAO,WAAW,CAChB,gBAAgB,EAChB,QAAQ,EACR,qEAAqE,CACtE,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,IAAI;QACR,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;IAC9B,CAAC;IAED,KAAK,CAAC,MAAM;QACV,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;IAC9B,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@run-cloud/sdk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "TypeScript client for run.cloud
|
|
3
|
+
"version": "0.6.0",
|
|
4
|
+
"description": "TypeScript client for run.cloud, including sandbox-provider compatibility adapters",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"runcloud",
|
|
@@ -47,6 +47,46 @@
|
|
|
47
47
|
".": {
|
|
48
48
|
"types": "./dist/index.d.ts",
|
|
49
49
|
"import": "./dist/index.js"
|
|
50
|
+
},
|
|
51
|
+
"./compat": {
|
|
52
|
+
"types": "./dist/compat/common.d.ts",
|
|
53
|
+
"import": "./dist/compat/common.js"
|
|
54
|
+
},
|
|
55
|
+
"./compat/modal": {
|
|
56
|
+
"types": "./dist/compat/modal.d.ts",
|
|
57
|
+
"import": "./dist/compat/modal.js"
|
|
58
|
+
},
|
|
59
|
+
"./compat/e2b": {
|
|
60
|
+
"types": "./dist/compat/e2b.d.ts",
|
|
61
|
+
"import": "./dist/compat/e2b.js"
|
|
62
|
+
},
|
|
63
|
+
"./compat/daytona": {
|
|
64
|
+
"types": "./dist/compat/daytona.d.ts",
|
|
65
|
+
"import": "./dist/compat/daytona.js"
|
|
66
|
+
},
|
|
67
|
+
"./compat/vercel": {
|
|
68
|
+
"types": "./dist/compat/vercel.d.ts",
|
|
69
|
+
"import": "./dist/compat/vercel.js"
|
|
70
|
+
},
|
|
71
|
+
"./compat/blaxel": {
|
|
72
|
+
"types": "./dist/compat/blaxel.d.ts",
|
|
73
|
+
"import": "./dist/compat/blaxel.js"
|
|
74
|
+
},
|
|
75
|
+
"./compat/sprites": {
|
|
76
|
+
"types": "./dist/compat/sprites.d.ts",
|
|
77
|
+
"import": "./dist/compat/sprites.js"
|
|
78
|
+
},
|
|
79
|
+
"./compat/cloudflare": {
|
|
80
|
+
"types": "./dist/compat/cloudflare.d.ts",
|
|
81
|
+
"import": "./dist/compat/cloudflare.js"
|
|
82
|
+
},
|
|
83
|
+
"./compat/codesandbox": {
|
|
84
|
+
"types": "./dist/compat/codesandbox.d.ts",
|
|
85
|
+
"import": "./dist/compat/codesandbox.js"
|
|
86
|
+
},
|
|
87
|
+
"./compat/fly": {
|
|
88
|
+
"types": "./dist/compat/fly.d.ts",
|
|
89
|
+
"import": "./dist/compat/fly.js"
|
|
50
90
|
}
|
|
51
91
|
},
|
|
52
92
|
"files": [
|