-
Notifications
You must be signed in to change notification settings - Fork 111
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 3.64 KB
/
Copy pathpackage.json
File metadata and controls
123 lines (123 loc) · 3.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "@cloudflare/sandbox",
"version": "0.12.1",
"repository": {
"type": "git",
"url": "https://github.com/cloudflare/sandbox-sdk"
},
"description": "A sandboxed environment for running commands",
"type": "module",
"dependencies": {
"@cloudflare/containers": "^0.3.5",
"aws4fetch": "^1.0.20",
"capnweb": "^0.8.0",
"hono": "^4.12.26"
},
"devDependencies": {
"@openai/agents": "^0.3.3",
"@opencode-ai/sdk": "^1.1.40",
"@repo/shared": "*",
"@types/acorn": "^4.0.6",
"@types/bun": "^1.3.14",
"@types/tar-stream": "^3.1.4",
"@xterm/xterm": "^6.0.0",
"acorn": "^8.14.0",
"async-mutex": "^0.5.0",
"tar-stream": "^3.2.0",
"wrangler": "^4.102.0"
},
"peerDependencies": {
"@openai/agents": "^0.3.3",
"@opencode-ai/sdk": "^1.1.40",
"@xterm/xterm": ">=5.0.0"
},
"peerDependenciesMeta": {
"@openai/agents": {
"optional": true
},
"@opencode-ai/sdk": {
"optional": true
},
"@xterm/xterm": {
"optional": true
}
},
"tags": [
"sandbox",
"codegen",
"containers",
"cloudflare",
"durable objects"
],
"scripts": {
"build": "rm -rf dist && npm run build:sidecar && tsdown --config tsdown.config.ts",
"build:sidecar": "bun run src/interpreter/build.ts",
"check": "biome check && npm run typecheck",
"fix": "biome check --fix && npm run typecheck",
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.sidecar.json",
"docker:local": "scripts/docker-local.sh",
"test": "vitest run --config vitest.config.ts \"$@\"",
"test:sidecar": "bun test src/interpreter/sidecar",
"test:e2e": "npm run test:e2e:vitest && npm run test:e2e:browser",
"test:e2e:vitest": "cd ../../tests/e2e/test-worker && ./generate-config.sh && cd ../../.. && vitest run --config vitest.e2e.config.ts \"$@\"",
"test:e2e:browser": "cd ../../tests/e2e/test-worker && ./generate-config.sh && cd ../../.. && npx playwright install chromium && playwright test --config tests/e2e/browser/playwright.config.ts",
"test:perf": "cd ../.. && vitest run --config vitest.perf.config.ts \"$@\""
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"./extensions": {
"types": "./dist/extensions/index.d.ts",
"import": "./dist/extensions/index.js",
"require": "./dist/extensions/index.js"
},
"./sidecar": {
"types": "./dist/sidecar/index.d.ts",
"import": "./dist/sidecar/index.js",
"require": "./dist/sidecar/index.js"
},
"./interpreter": {
"types": "./dist/interpreter/index.d.ts",
"import": "./dist/interpreter/index.js",
"require": "./dist/interpreter/index.js"
},
"./openai": {
"types": "./dist/openai/index.d.ts",
"import": "./dist/openai/index.js",
"require": "./dist/openai/index.js"
},
"./opencode": {
"types": "./dist/opencode/index.d.ts",
"import": "./dist/opencode/index.js",
"require": "./dist/opencode/index.js"
},
"./xterm": {
"types": "./dist/xterm/index.d.ts",
"import": "./dist/xterm/index.js",
"require": "./dist/xterm/index.js"
},
"./bridge": {
"types": "./dist/bridge/index.d.ts",
"import": "./dist/bridge/index.js",
"require": "./dist/bridge/index.js"
},
"./tunnels": {
"types": "./dist/tunnels/index.d.ts",
"import": "./dist/tunnels/index.js",
"require": "./dist/tunnels/index.js"
}
},
"keywords": [],
"author": "",
"license": "Apache-2.0",
"files": [
"dist",
"Dockerfile",
"startup.sh",
"README.md",
"LICENSE"
]
}