@fastgpt-sdk/sandbox-adapter 0.0.1

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/package.json ADDED
@@ -0,0 +1,87 @@
1
+ {
2
+ "name": "@fastgpt-sdk/sandbox-adapter",
3
+ "version": "0.0.1",
4
+ "description": "Unified abstraction layer for cloud sandbox providers with adapter pattern and feature polyfilling",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "publishConfig": {
19
+ "access": "public"
20
+ },
21
+ "sideEffects": false,
22
+ "engines": {
23
+ "node": ">=18"
24
+ },
25
+ "scripts": {
26
+ "build": "bun run build.ts",
27
+ "dev": "tsc -p tsconfig.build.json --watch",
28
+ "prepublishOnly": "bun run build",
29
+ "lint": "eslint .",
30
+ "lint:fix": "eslint . --fix",
31
+ "format": "prettier . --write",
32
+ "format:check": "prettier . --check",
33
+ "lint-staged": "lint-staged",
34
+ "prepare": "husky",
35
+ "test": "vitest run --config ./vitest.config.mts",
36
+ "test:watch": "vitest watch",
37
+ "test:coverage": "vitest run --coverage"
38
+ },
39
+ "keywords": [
40
+ "sandbox",
41
+ "cloud",
42
+ "adapter",
43
+ "abstraction",
44
+ "fastgpt",
45
+ "opensandbox"
46
+ ],
47
+ "author": "",
48
+ "license": "MIT",
49
+ "peerDependencies": {
50
+ "@alibaba-group/opensandbox": ">=0.1.0",
51
+ "@fastgpt-sdk/sandbox-server": ">=0.0.5"
52
+ },
53
+ "peerDependenciesMeta": {
54
+ "@alibaba-group/opensandbox": {
55
+ "optional": true
56
+ },
57
+ "@fastgpt-sdk/sandbox-server": {
58
+ "optional": true
59
+ }
60
+ },
61
+ "devDependencies": {
62
+ "@alibaba-group/opensandbox": "^0.1.3",
63
+ "@fastgpt-sdk/sandbox-server": "^0.0.5",
64
+ "@eslint/js": "^9.39.2",
65
+ "@types/bun": "latest",
66
+ "@types/node": "^25.2.0",
67
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
68
+ "@typescript-eslint/parser": "^8.54.0",
69
+ "@vitest/coverage-v8": "^3.0.9",
70
+ "eslint": "^9.39.2",
71
+ "eslint-config-prettier": "^10.1.8",
72
+ "globals": "^15.15.0",
73
+ "husky": "^9.1.7",
74
+ "lint-staged": "^16.2.7",
75
+ "prettier": "^3.8.1",
76
+ "typescript": "^5.1.3",
77
+ "vitest": "^3.0.9"
78
+ },
79
+ "lint-staged": {
80
+ "*.{js,cjs,mjs,ts,tsx,json,md,mdx,yaml,yml}": [
81
+ "prettier --check"
82
+ ],
83
+ "*.{js,cjs,mjs,ts,tsx}": [
84
+ "eslint --max-warnings=0"
85
+ ]
86
+ }
87
+ }