@cloudbase/e2b 2.19.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/LICENSE +9 -0
- package/README.md +64 -0
- package/dist/index.d.mts +9503 -0
- package/dist/index.d.ts +9503 -0
- package/dist/index.js +6316 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +6263 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +109 -0
package/package.json
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cloudbase/e2b",
|
|
3
|
+
"version": "2.19.0",
|
|
4
|
+
"description": "E2B SDK that give agents cloud environments",
|
|
5
|
+
"homepage": "https://e2b.dev",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "FoundryLabs, Inc.",
|
|
9
|
+
"email": "hello@e2b.dev",
|
|
10
|
+
"url": "https://e2b.dev"
|
|
11
|
+
},
|
|
12
|
+
"bugs": "https://github.com/e2b-dev/e2b/issues",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "https://github.com/e2b-dev/e2b",
|
|
16
|
+
"directory": "packages/js-sdk"
|
|
17
|
+
},
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public"
|
|
20
|
+
},
|
|
21
|
+
"sideEffects": false,
|
|
22
|
+
"main": "dist/index.js",
|
|
23
|
+
"module": "dist/index.mjs",
|
|
24
|
+
"types": "dist/index.d.ts",
|
|
25
|
+
"scripts": {
|
|
26
|
+
"prepublishOnly": "pnpm build",
|
|
27
|
+
"build": "tsc --noEmit && tsup",
|
|
28
|
+
"dev": "tsup --watch",
|
|
29
|
+
"example": "tsx example.mts",
|
|
30
|
+
"test": "vitest run",
|
|
31
|
+
"generate": "npm-run-all generate:* && pnpm run format",
|
|
32
|
+
"generate:api": "python ./../../spec/remove_extra_tags.py sandboxes snapshots templates tags auth volumes && openapi-typescript ../../spec/openapi_generated.yml -x api_key --array-length --alphabetize --default-non-nullable false --output src/api/schema.gen.ts",
|
|
33
|
+
"generate:envd": "cd ../../spec/envd && buf generate --template buf-js.gen.yaml\n",
|
|
34
|
+
"generate:envd-api": "openapi-typescript ../../spec/envd/envd.yaml -x api_key --array-length --alphabetize --output src/envd/schema.gen.ts",
|
|
35
|
+
"generate:volume-api": "openapi-typescript ../../spec/openapi-volumecontent.yml -x api_key --array-length --alphabetize --output src/volume/schema.gen.ts",
|
|
36
|
+
"generate:mcp": "json2ts -i ./../../spec/mcp-server.json -o src/sandbox/mcp.d.ts --unreachableDefinitions --style.singleQuote --no-style.semi",
|
|
37
|
+
"check-deps": "knip",
|
|
38
|
+
"pretest": "npx playwright install --with-deps chromium",
|
|
39
|
+
"postPublish": "./scripts/post-publish.sh || true",
|
|
40
|
+
"test:bun": "bun test tests/runtimes/bun --env-file=.env",
|
|
41
|
+
"test:deno": "deno test tests/runtimes/deno/ --allow-net --allow-read --allow-env --unstable-sloppy-imports --trace-leaks",
|
|
42
|
+
"test:integration": "E2B_INTEGRATION_TEST=1 vitest run tests/integration/**",
|
|
43
|
+
"typecheck": "tsc --noEmit",
|
|
44
|
+
"lint": "eslint src/ tests/",
|
|
45
|
+
"format": "prettier --write src/ tests/ example.mts"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@testing-library/react": "^16.2.0",
|
|
49
|
+
"@types/node": "^20.19.19",
|
|
50
|
+
"@types/platform": "^1.3.6",
|
|
51
|
+
"@types/react": "^18.3.11",
|
|
52
|
+
"@typescript-eslint/eslint-plugin": "^7.11.0",
|
|
53
|
+
"@typescript-eslint/parser": "^7.11.0",
|
|
54
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
55
|
+
"@vitest/browser": "^3.2.4",
|
|
56
|
+
"dotenv": "^16.4.5",
|
|
57
|
+
"eslint": "^8.57.1",
|
|
58
|
+
"json-schema-to-typescript": "^15.0.4",
|
|
59
|
+
"knip": "^5.43.6",
|
|
60
|
+
"msw": "^2.12.10",
|
|
61
|
+
"npm-check-updates": "^16.14.20",
|
|
62
|
+
"npm-run-all": "^4.1.5",
|
|
63
|
+
"openapi-typescript": "^7.9.1",
|
|
64
|
+
"playwright": "^1.55.1",
|
|
65
|
+
"react": "^18.3.1",
|
|
66
|
+
"tsup": "^8.4.0",
|
|
67
|
+
"tsx": "^4.21.0",
|
|
68
|
+
"typescript": "^5.4.5",
|
|
69
|
+
"vitest": "^3.2.4",
|
|
70
|
+
"vitest-browser-react": "^0.1.1"
|
|
71
|
+
},
|
|
72
|
+
"files": [
|
|
73
|
+
"dist",
|
|
74
|
+
"README.md",
|
|
75
|
+
"package.json"
|
|
76
|
+
],
|
|
77
|
+
"keywords": [
|
|
78
|
+
"e2b",
|
|
79
|
+
"ai-agents",
|
|
80
|
+
"agents",
|
|
81
|
+
"ai",
|
|
82
|
+
"code-interpreter",
|
|
83
|
+
"sandbox",
|
|
84
|
+
"code",
|
|
85
|
+
"runtime",
|
|
86
|
+
"vm",
|
|
87
|
+
"nodejs",
|
|
88
|
+
"javascript",
|
|
89
|
+
"typescript"
|
|
90
|
+
],
|
|
91
|
+
"dependencies": {
|
|
92
|
+
"@bufbuild/protobuf": "^2.6.2",
|
|
93
|
+
"@connectrpc/connect": "2.0.0-rc.3",
|
|
94
|
+
"@connectrpc/connect-web": "2.0.0-rc.3",
|
|
95
|
+
"chalk": "^5.3.0",
|
|
96
|
+
"compare-versions": "^6.1.0",
|
|
97
|
+
"dockerfile-ast": "^0.7.1",
|
|
98
|
+
"glob": "^11.1.0",
|
|
99
|
+
"openapi-fetch": "^0.14.1",
|
|
100
|
+
"platform": "^1.3.6",
|
|
101
|
+
"tar": "^7.5.11"
|
|
102
|
+
},
|
|
103
|
+
"engines": {
|
|
104
|
+
"node": ">=20"
|
|
105
|
+
},
|
|
106
|
+
"browserslist": [
|
|
107
|
+
"defaults"
|
|
108
|
+
]
|
|
109
|
+
}
|