-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
157 lines (157 loc) · 7.06 KB
/
package.json
File metadata and controls
157 lines (157 loc) · 7.06 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "beamcode",
"version": "0.1.5",
"description": "Universal adapter bridging consumers (web, mobile) to coding agent CLIs — code anywhere",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./testing": {
"types": "./dist/testing.d.ts",
"import": "./dist/testing.js",
"require": "./dist/testing.cjs"
},
"./adapters/acp": {
"types": "./dist/adapters/acp.d.ts",
"import": "./dist/adapters/acp.js",
"require": "./dist/adapters/acp.cjs"
},
"./adapters/codex": {
"types": "./dist/adapters/codex.d.ts",
"import": "./dist/adapters/codex.js",
"require": "./dist/adapters/codex.cjs"
},
"./adapters/claude": {
"types": "./dist/adapters/claude.d.ts",
"import": "./dist/adapters/claude.js",
"require": "./dist/adapters/claude.cjs"
},
"./daemon": {
"types": "./dist/daemon.d.ts",
"import": "./dist/daemon.js",
"require": "./dist/daemon.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"beamcode": "./dist/bin/beamcode.mjs"
},
"files": [
"dist",
"web/dist",
"README.md"
],
"scripts": {
"build:lib": "tsdown && node scripts/fix-dts.js",
"build:shared": "tsc --target ES2022 --module ESNext --moduleResolution bundler --declaration --outDir shared shared/consumer-types.ts",
"build:web": "node scripts/build-web.mjs",
"build": "pnpm build:shared && pnpm build:lib && pnpm build:web",
"dev:web": "cd web && npx vite --port 5174",
"start": "node dist/bin/beamcode.mjs",
"trace:inspect": "node scripts/trace-inspect.mjs",
"test": "vitest run",
"test:e2e": "pnpm test:e2e:smoke",
"test:e2e:parity:check": "node scripts/e2e-parity-gate.mjs",
"test:e2e:parity:pr": "pnpm test:e2e:parity:check",
"test:e2e:parity:nightly": "pnpm test:e2e:parity:check",
"test:all": "vitest run && vitest run --config vitest.e2e.real.config.ts",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"check:arch": "node scripts/arch-check.mjs",
"lint": "biome lint src/",
"format": "biome format --write src/",
"check": "biome check src/",
"check:fix": "biome check --write src/",
"prepare": "simple-git-hooks",
"test:e2e:smoke": "node scripts/e2e-realcli-preflight.mjs --mode smoke && E2E_PROFILE=real-smoke USE_REAL_CLI=true vitest run --config vitest.e2e.real.config.ts",
"test:e2e:full": "node scripts/e2e-realcli-preflight.mjs --mode full && E2E_PROFILE=real-full USE_REAL_CLI=true vitest run --config vitest.e2e.real.config.ts",
"test:e2e:real": "node scripts/e2e-realcli-preflight.mjs --mode full && E2E_PROFILE=real-full USE_REAL_CLI=true vitest run --exclude \"src/e2e/{smoke,handshake,process-smoke}.e2e.test.ts\" --config vitest.e2e.real.config.ts",
"test:e2e:smoke:process": "node scripts/e2e-realcli-preflight.mjs --mode smoke && E2E_PROFILE=real-smoke USE_REAL_CLI=true vitest run src/e2e/smoke.e2e.test.ts src/e2e/handshake.e2e.test.ts src/e2e/process-smoke.e2e.test.ts --config vitest.e2e.real.config.ts",
"test:e2e:full:process": "node scripts/e2e-realcli-preflight.mjs --mode full && E2E_PROFILE=real-full USE_REAL_CLI=true vitest run src/e2e/smoke.e2e.test.ts src/e2e/handshake.e2e.test.ts src/e2e/process-smoke.e2e.test.ts --config vitest.e2e.real.config.ts",
"test:e2e:full:claude": "node scripts/e2e-realcli-preflight.mjs --mode full && E2E_PROFILE=real-full USE_REAL_CLI=true vitest run src/e2e/session-coordinator-claude.e2e.test.ts --config vitest.e2e.real.config.ts",
"test:e2e:smoke:claude": "node scripts/e2e-realcli-preflight.mjs --mode smoke && E2E_PROFILE=real-smoke USE_REAL_CLI=true vitest run src/e2e/session-coordinator-claude.e2e.test.ts --config vitest.e2e.real.config.ts",
"test:e2e:claude": "pnpm test:e2e:full:claude",
"test:e2e:real:claude": "pnpm test:e2e:full:claude",
"test:e2e:full:codex": "E2E_PROFILE=real-full USE_REAL_CLI=true vitest run src/e2e/session-coordinator-codex.e2e.test.ts --config vitest.e2e.real.config.ts",
"test:e2e:smoke:codex": "E2E_PROFILE=real-smoke USE_REAL_CLI=true vitest run src/e2e/session-coordinator-codex.e2e.test.ts --config vitest.e2e.real.config.ts",
"test:e2e:codex": "pnpm test:e2e:full:codex",
"test:e2e:real:codex": "pnpm test:e2e:full:codex",
"test:e2e:full:gemini": "E2E_PROFILE=real-full USE_REAL_CLI=true vitest run src/e2e/session-coordinator-gemini.e2e.test.ts --config vitest.e2e.real.config.ts",
"test:e2e:smoke:gemini": "E2E_PROFILE=real-smoke USE_REAL_CLI=true vitest run src/e2e/session-coordinator-gemini.e2e.test.ts --config vitest.e2e.real.config.ts",
"test:e2e:gemini": "pnpm test:e2e:full:gemini",
"test:e2e:real:gemini": "pnpm test:e2e:full:gemini",
"test:e2e:full:opencode": "E2E_PROFILE=real-full USE_REAL_CLI=true vitest run src/e2e/session-coordinator-opencode.e2e.test.ts --config vitest.e2e.real.config.ts",
"test:e2e:smoke:opencode": "E2E_PROFILE=real-smoke USE_REAL_CLI=true vitest run src/e2e/session-coordinator-opencode.e2e.test.ts --config vitest.e2e.real.config.ts",
"test:e2e:opencode": "pnpm test:e2e:full:opencode",
"test:e2e:real:opencode": "pnpm test:e2e:full:opencode",
"test:e2e:full:agent-sdk": "node scripts/e2e-realcli-preflight.mjs --mode full && E2E_PROFILE=real-full USE_REAL_CLI=true vitest run src/e2e/session-coordinator-agent-sdk.e2e.test.ts --config vitest.e2e.real.config.ts",
"test:e2e:smoke:agent-sdk": "node scripts/e2e-realcli-preflight.mjs --mode smoke && E2E_PROFILE=real-smoke USE_REAL_CLI=true vitest run src/e2e/session-coordinator-agent-sdk.e2e.test.ts --config vitest.e2e.real.config.ts",
"test:e2e:agent-sdk": "pnpm test:e2e:full:agent-sdk",
"test:e2e:real:agent-sdk": "pnpm test:e2e:full:agent-sdk"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*.{ts,tsx}": [
"biome check --write --no-errors-on-unmatched"
]
},
"keywords": [
"beamcode",
"coding-agent",
"claude-code",
"codex",
"remote-access",
"websocket",
"adapter"
],
"license": "MIT",
"peerDependencies": {
"node-pty": ">=1.0.0",
"prom-client": ">=15.0.0"
},
"peerDependenciesMeta": {
"node-pty": {
"optional": true
},
"prom-client": {
"optional": true
}
},
"dependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.2.50",
"@shepherdjerred/bun-decompile": "",
"libsodium-wrappers-sumo": "0.7.15",
"ws": "^8.18.0",
"zod": "3"
},
"devDependencies": {
"@biomejs/biome": "^2.3.14",
"@types/libsodium-wrappers-sumo": "^0.7.8",
"@types/node": "^22.13.4",
"@types/ws": "^8.18.1",
"@vitest/coverage-v8": "^4.0.18",
"fast-check": "^4.5.3",
"lint-staged": "^16.2.7",
"node-pty": "^1.1.0",
"prom-client": "^15.1.3",
"simple-git-hooks": "^2.13.1",
"tsdown": "^0.20.3",
"typescript": "^5.8.3",
"vitest": "^4.0.18"
},
"engines": {
"node": ">=22.0.0"
},
"packageManager": "pnpm@9.15.9",
"workspaces": [
".",
"web"
]
}