-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpackage.json
More file actions
163 lines (163 loc) · 9.12 KB
/
Copy pathpackage.json
File metadata and controls
163 lines (163 loc) · 9.12 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
158
159
160
161
162
163
{
"name": "freshell",
"private": true,
"version": "0.7.5",
"type": "module",
"bin": {
"freshell": "dist/server/cli/index.js"
},
"main": "dist/electron/electron/entry.js",
"engines": {
"node": ">=22.5.0"
},
"scripts": {
"predev": "tsx scripts/run-with-default-port.ts tsx scripts/precheck.ts",
"dev": "tsx scripts/run-with-default-port.ts concurrently -n client,server -c blue,green \"vite --config config/vite/vite.config.ts\" \"tsx watch server/index.ts\"",
"dev:client": "vite --config config/vite/vite.config.ts",
"dev:server": "tsx scripts/run-with-default-port.ts tsx watch server/index.ts",
"typecheck": "npm run typecheck:client && npm run typecheck:server",
"typecheck:client": "tsc -p tsconfig.json --noEmit",
"typecheck:server": "tsc -p tsconfig.server.json --noEmit",
"prebuild": "tsx scripts/prebuild-guard.ts",
"build": "npm run typecheck:client && npm run build:client && npm run build:server",
"build:client": "vite build --config config/vite/vite.config.ts",
"build:server": "tsc -p tsconfig.server.json",
"build:electron": "node -e \"const fs=require('fs');fs.rmSync('dist/electron',{recursive:true,force:true});fs.rmSync('node_modules/.cache/tsconfig.electron.tsbuildinfo',{force:true});fs.rmSync('node_modules/.cache/tsconfig.electron-preload.tsbuildinfo',{force:true})\" && tsc -p tsconfig.electron.json && tsc -p tsconfig.electron-preload.json",
"build:wizard": "vite build --config config/vite/vite.wizard.config.ts",
"build:launch-chooser": "vite build --config config/vite/vite.launch-chooser.config.ts",
"dev:wizard": "vite --config config/vite/vite.wizard.config.ts",
"dev:launch-chooser": "vite --config config/vite/vite.launch-chooser.config.ts",
"electron:dev": "npm run build:electron && cross-env ELECTRON_DEV=1 concurrently -n client,wizard,chooser,electron \"vite --config config/vite/vite.config.ts\" \"vite --config config/vite/vite.wizard.config.ts\" \"vite --config config/vite/vite.launch-chooser.config.ts\" \"electron .\"",
"electron:build": "npm run build && npm run build:electron && npm run build:wizard && npm run build:launch-chooser && npm run prepare:bundled-node && electron-builder --config config/electron-builder.yml",
"electron:build:win": "tsx scripts/assert-native-windows-build.ts && npm run build && npm run build:electron && npm run build:wizard && npm run build:launch-chooser && npm run prepare:bundled-node && electron-builder --config config/electron-builder.yml --win nsis --publish never",
"prepare:bundled-node": "tsx scripts/prepare-bundled-node.ts",
"start": "cross-env NODE_ENV=production node dist/server/index.js",
"serve:precheck": "cross-env FRESHELL_PRECHECK_INTENT=serve tsx scripts/precheck.ts",
"serve": "npm run serve:precheck && npm run build && npm run start",
"test": "tsx scripts/testing/test-coordinator.ts run test",
"test:balanced": "tsx scripts/run-standard-tests.ts",
"test:sequential": "vitest run --config config/vitest/vitest.config.ts && vitest run --config config/vitest/vitest.server.config.ts && vitest run --config config/vitest/vitest.electron.config.ts",
"test:aggressive": "tsx scripts/run-standard-tests.ts --mode aggressive",
"test:client:standard": "vitest run --config config/vitest/vitest.config.ts --maxWorkers 25%",
"test:server:standard": "vitest run --config config/vitest/vitest.server.config.ts --maxWorkers 25%",
"test:client:aggressive": "vitest run --config config/vitest/vitest.config.ts --maxWorkers 50%",
"test:server:aggressive": "vitest run --config config/vitest/vitest.server.config.ts --maxWorkers 50%",
"test:electron": "vitest run --config config/vitest/vitest.electron.config.ts",
"verify": "tsx scripts/testing/test-coordinator.ts run verify",
"check": "tsx scripts/testing/test-coordinator.ts run check",
"test:watch": "tsx scripts/testing/test-coordinator.ts run test:watch",
"test:ui": "tsx scripts/testing/test-coordinator.ts run test:ui",
"test:server": "tsx scripts/testing/test-coordinator.ts run test:server",
"test:coverage": "tsx scripts/testing/test-coordinator.ts run test:coverage",
"test:unit": "tsx scripts/testing/test-coordinator.ts run test:unit",
"test:integration": "tsx scripts/testing/test-coordinator.ts run test:integration",
"test:client": "tsx scripts/testing/test-coordinator.ts run test:client",
"test:real:coding-cli-contracts": "cross-env FRESHELL_REAL_PROVIDER_CONTRACTS=1 npm run test:vitest -- --config config/vitest/vitest.server.config.ts test/integration/real/coding-cli-session-contract.test.ts --run --pool=forks --poolOptions.forks.singleFork=true",
"test:visible-first:contract": "vitest run --config config/vitest/vitest.config.ts test/unit/visible-first/acceptance-contract.test.ts test/unit/visible-first/protocol-harness.test.ts test/unit/lib/visible-first-acceptance-report.test.ts",
"test:all": "tsx scripts/testing/test-coordinator.ts run test:all",
"test:status": "tsx scripts/testing/test-coordinator.ts status",
"test:vitest": "tsx scripts/testing/test-coordinator.ts run test:vitest",
"test:codex-real-provider-smoke": "vitest run --config config/vitest/vitest.codex-real-provider-smoke.config.ts",
"test:opencode-serve-smoke": "vitest run --config config/vitest/vitest.opencode-serve-real-provider-smoke.config.ts",
"smoke:browser-use": "python3 test/browser_use/smoke_freshell.py",
"prepare:icons": "node assets/icons/prepare-icons.mjs",
"lint": "eslint src --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint src --ext .js,.jsx,.ts,.tsx --fix",
"test:e2e": "playwright test --config test/e2e-browser/playwright.config.ts",
"test:e2e:chromium": "playwright test --config test/e2e-browser/playwright.config.ts --project=chromium",
"test:e2e:headed": "playwright test --config test/e2e-browser/playwright.config.ts --headed",
"test:e2e:update-snapshots": "playwright test --config test/e2e-browser/playwright.config.ts --update-snapshots",
"test:e2e:debug": "playwright test --config test/e2e-browser/playwright.config.ts --debug",
"test:e2e:helpers": "vitest run --config test/e2e-browser/vitest.config.ts",
"test:e2e:electron": "playwright test --config test/e2e-electron/playwright.electron.config.ts",
"perf:audit:visible-first": "PORT=3311 npm run build && tsx scripts/visible-first-audit.ts",
"visible-first:contract:check": "tsx scripts/assert-visible-first-acceptance.ts",
"perf:audit:compare": "tsx scripts/compare-visible-first-audit.ts",
"perf:audit:gate": "tsx scripts/assert-visible-first-audit-gate.ts"
},
"dependencies": {
"@ai-sdk/google": "^3.0.29",
"@anthropic-ai/claude-agent-sdk": "^0.2.40",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@modelcontextprotocol/sdk": "^1.27.1",
"@monaco-editor/react": "^4.6.0",
"@reduxjs/toolkit": "^2.3.0",
"@use-gesture/react": "^10.3.1",
"@xterm/addon-fit": "^0.11.0",
"@xterm/addon-search": "^0.16.0",
"@xterm/addon-webgl": "^0.19.0",
"@xterm/xterm": "6.0.0",
"ai": "^6.0.86",
"chokidar": "^3.6.0",
"cookie-parser": "^1.4.7",
"diff": "^8.0.3",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"express-rate-limit": "^7.4.0",
"glob": "^13.0.0",
"html2canvas": "^1.4.1",
"is-port-reachable": "^4.0.0",
"lean-qr": "^2.7.1",
"lucide-react": "^0.469.0",
"monaco-editor": "^0.52.0",
"nanoid": "^5.0.7",
"node-pty": "^1.2.0-beta.10",
"pino": "^9.3.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-markdown": "^9.0.1",
"react-redux": "^9.1.2",
"react-syntax-highlighter": "^16.1.1",
"react-window": "^2.2.6",
"remark-gfm": "^4.0.0",
"rotating-file-stream": "^3.2.8",
"ws": "^8.18.0",
"zod": "^4.0.0"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@playwright/test": "^1.52.0",
"@tailwindcss/container-queries": "^0.1.1",
"@tailwindcss/typography": "^0.5.19",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/cookie-parser": "^1.4.10",
"@types/express": "^4.17.21",
"@types/node": "^22.10.2",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/react-window": "^1.8.8",
"@types/supertest": "^6.0.2",
"@types/ws": "^8.5.12",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"@vitejs/plugin-react": "^4.7.0",
"autoprefixer": "^10.4.20",
"concurrently": "^9.1.2",
"cross-env": "^7.0.3",
"electron": "^33.0.0",
"electron-builder": "^25.1.0",
"electron-updater": "^6.3.0",
"eslint": "^9.39.2",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.1.0",
"extract-zip": "^2.0.1",
"globals": "^17.3.0",
"jsdom": "^25.0.1",
"pino-pretty": "^11.3.0",
"postcss": "^8.4.49",
"supertest": "^7.0.0",
"superwstest": "^1.1.0",
"tailwindcss": "^3.4.17",
"tar": "^6.2.1",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vite": "^6.4.1",
"vitest": "^3.2.4"
}
}