-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
150 lines (150 loc) · 6.09 KB
/
package.json
File metadata and controls
150 lines (150 loc) · 6.09 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
{
"name": "conduit-code",
"version": "0.1.3",
"type": "module",
"license": "MIT",
"description": "Web UI relay for OpenCode. Access your OpenCode sessions from any device.",
"repository": {
"type": "git",
"url": "https://github.com/dibstern/conduit"
},
"bin": {
"conduit": "dist/src/bin/cli.js"
},
"files": [
"dist/src/",
"dist/frontend/"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "tsx watch src/bin/cli.ts -- --foreground",
"dev:frontend": "vite",
"dev:all": "trap 'kill 0' EXIT; tsx watch --ignore 'src/lib/frontend/**' src/bin/cli.ts -- --foreground --restart-daemon & vite & wait",
"build": "tsgo && pnpm copy:assets && vite build",
"build:server": "tsgo && pnpm copy:assets",
"build:frontend": "vite build",
"copy:assets": "rm -rf dist/src/lib/themes && cp -r src/lib/themes dist/src/lib/themes",
"preview:frontend": "vite preview",
"preview:server": "pnpm build && node dist/src/bin/cli.js",
"check": "tsgo --noEmit && tsgo --noEmit --project src/lib/frontend/tsconfig.json",
"check:frontend": "tsgo --noEmit --project src/lib/frontend/tsconfig.json",
"lint": "biome check .",
"format": "biome check --write .",
"test": "vitest run",
"test:unit": "vitest run",
"test:fixture": "vitest run test/fixture",
"test:pbt": "vitest run test/unit --testNamePattern 'property|PBT|fc\\.'",
"test:watch": "vitest",
"test:integration": "vitest run --config vitest.integration.config.ts",
"test:contract": "vitest run --config vitest.contract.config.ts",
"test:e2e": "pnpm build:frontend && pnpm exec playwright test --config test/e2e/playwright-replay.config.ts",
"test:e2e:ui": "pnpm build:frontend && pnpm exec playwright test --config test/e2e/playwright-replay.config.ts --ui",
"test:e2e:headed": "pnpm build:frontend && pnpm exec playwright test --config test/e2e/playwright-replay.config.ts --headed",
"test:e2e:debug": "pnpm build:frontend && pnpm exec playwright test --config test/e2e/playwright-replay.config.ts --debug",
"test:multi-instance": "pnpm exec playwright test --config test/e2e/playwright-multi-instance.config.ts",
"test:project-management": "pnpm exec playwright test --config test/e2e/playwright-project-management.config.ts",
"test:subagent-e2e": "pnpm build:frontend && pnpm exec playwright test --config test/e2e/playwright-subagent.config.ts",
"test:daemon": "pnpm exec playwright test --config test/e2e/playwright-daemon.config.ts",
"test:e2e:live": "pnpm build:frontend && pnpm exec playwright test --config test/e2e/playwright-live.config.ts",
"test:visual": "pnpm build:frontend && pnpm exec playwright test --config test/e2e/playwright-visual.config.ts",
"test:visual:update": "pnpm build:frontend && pnpm exec playwright test --config test/e2e/playwright-visual.config.ts --update-snapshots",
"test:visual:headed": "pnpm build:frontend && pnpm exec playwright test --config test/e2e/playwright-visual.config.ts --headed",
"storybook": "storybook dev -p 6006",
"storybook:build": "storybook build -o dist/storybook",
"test:storybook-visual": "pnpm storybook:build && pnpm exec playwright test --config test/visual/playwright.config.ts",
"test:storybook-visual:update": "pnpm storybook:build && pnpm exec playwright test --config test/visual/playwright.config.ts --update-snapshots",
"test:storybook-visual:update-all": "bash scripts/update-visual-snapshots.sh",
"test:storybook-visual:update-linux": "bash scripts/update-visual-snapshots.sh linux",
"generate:media": "tsx scripts/generate-media/index.ts",
"check:storybook": "node scripts/check-storybook-health.mjs",
"test:all": "bash scripts/test-all.sh",
"test:e2e:expensive-real-prompts": "RUN_EXPENSIVE_E2E=1 vitest run --config vitest.e2e.config.ts",
"test:coverage": "vitest run --coverage",
"test:record-snapshots": "tsx test/e2e/scripts/record-snapshots.ts",
"prepublishOnly": "pnpm test:all",
"preversion": "pnpm check && pnpm lint && pnpm test:unit",
"postversion": "git push origin main --follow-tags",
"prepare": "lefthook install || true"
},
"dependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.2.132",
"@effect/experimental": "0.60.0",
"@effect/opentelemetry": "^0.63.0",
"@effect/platform": "^0.96.1",
"@effect/platform-node": "^0.106.0",
"@effect/rpc": "0.75.1",
"@effect/sql": "0.51.1",
"@effect/sql-sqlite-node": "0.52.0",
"@opencode-ai/sdk": "^1.4.3",
"@opentelemetry/exporter-trace-otlp-http": "^0.215.0",
"@opentelemetry/sdk-trace-node": "^2.7.0",
"better-sqlite3": "^12.9.0",
"dompurify": "^3.3.1",
"effect": "^3.21.2",
"ignore": "^7.0.5",
"jsdom": "^28.1.0",
"marked": "^17.0.3",
"pino": "^10.3.1",
"pino-pretty": "^13.1.3",
"qrcode-terminal": "^0.12.0",
"web-push": "^3.6.7",
"ws": "^8.18.0"
},
"devDependencies": {
"@biomejs/biome": "^2.4.4",
"@castlenine/svelte-qrcode": "^2.3.0",
"@effect/vitest": "^0.29.0",
"@evilmartians/lefthook": "^2.1.3",
"@lucide/svelte": "^0.575.0",
"@opentelemetry/sdk-trace-base": "^2.7.0",
"@playwright/test": "^1.58.2",
"@storybook/addon-a11y": "^10.2.13",
"@storybook/addon-docs": "^10.2.13",
"@storybook/svelte": "^10.2.13",
"@storybook/svelte-vite": "^10.2.13",
"@sveltejs/vite-plugin-svelte": "^5.1.1",
"@tailwindcss/vite": "^4.2.0",
"@testing-library/svelte": "^5.3.1",
"@types/better-sqlite3": "^7.6.13",
"@types/jsdom": "^28.0.0",
"@types/node": "^22.0.0",
"@types/pngjs": "^6.0.5",
"@types/ws": "^8.5.0",
"@typescript/native-preview": "7.0.0-dev.20260317.1",
"@vitest/coverage-v8": "^3.2.4",
"@xterm/addon-fit": "^0.11.0",
"@xterm/xterm": "^6.0.0",
"fast-check": "^4.0.0",
"highlight.js": "^11.11.1",
"http-server": "^14.1.1",
"mermaid": "^11.12.3",
"pixelmatch": "^7.1.0",
"pngjs": "^7.0.0",
"sharp": "^0.34.5",
"storybook": "^10.2.13",
"svelte": "^5.53.3",
"tailwindcss": "^4.2.0",
"tsx": "^4.19.0",
"typescript": "^5.8.2",
"vite": "^6.0.0",
"vitest": "^3.0.0"
},
"engines": {
"node": ">=22.5.0"
},
"pnpm": {
"onlyBuiltDependencies": [
"better-sqlite3"
],
"ignoredBuiltDependencies": [
"@evilmartians/lefthook",
"@parcel/watcher",
"esbuild",
"msgpackr-extract",
"protobufjs",
"sharp"
]
}
}