-
Notifications
You must be signed in to change notification settings - Fork 665
Expand file tree
/
Copy pathpackage.json
More file actions
161 lines (161 loc) · 5.57 KB
/
Copy pathpackage.json
File metadata and controls
161 lines (161 loc) · 5.57 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
{
"name": "codepilot",
"version": "0.58.4",
"private": true,
"license": "BUSL-1.1",
"workspaces": [
"apps/*",
"packages/*"
],
"author": {
"name": "op7418",
"email": "guohao631@gmail.com",
"url": "https://x.com/op7418"
},
"description": "A multi-model AI agent desktop client",
"main": "dist-electron/main.js",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint",
"typecheck": "tsc --noEmit",
"test:unit": "CODEX_DISABLED=1 tsx --test --import ./src/__tests__/db-isolation.setup.ts src/__tests__/unit/*.test.ts",
"test:smoke": "npx playwright test --grep @smoke",
"test:e2e": "npx playwright test",
"test:visual": "npx playwright test --grep @visual",
"test:sdk-poc": "CLAUDE_SDK_POC=1 tsx --test src/__tests__/integration/*-poc.test.ts",
"smoke:mcp-poc": "tsx scripts/smoke-ai-sdk7-phase4-mcp-poc.ts",
"test": "npm run typecheck && npm run test:unit",
"lint:colors": "! grep -rn --include='*.tsx' --include='*.ts' -E '(bg|text|border)-(green|emerald|red|orange|yellow|amber|blue)-(400|500|600|700)' src/components/ src/app/ --exclude-dir=ui --exclude-dir=ai-elements | grep -v 'lint-allow-raw-color'",
"lint:hooks": "node scripts/lint-hooks.mjs",
"lint:docs-drift": "node scripts/lint-docs-drift.mjs",
"prepare": "node -e \"try{require('husky')()}catch(e){}\"",
"electron:dev": "node scripts/build-electron-dev.mjs && concurrently -k -n next,esbuild,electron \"next dev\" \"node scripts/build-electron-dev.mjs --watch\" \"wait-on http://localhost:${PORT:-3000} && electron .\"",
"electron:build": "node scripts/clean-electron-build.mjs && next build && node scripts/build-electron.mjs",
"electron:pack": "npm run electron:build && electron-builder --config electron-builder.yml",
"electron:pack:mac": "npm run electron:build && electron-builder --mac --config electron-builder.yml",
"electron:pack:win": "npm run electron:build && electron-builder --win --config electron-builder.yml",
"electron:pack:linux": "npm run electron:build && electron-builder --linux --config electron-builder.yml"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix"
],
"docs/exec-plans/**/*.md": [
"node scripts/lint-docs-drift.mjs"
]
},
"dependencies": {
"@ai-sdk/amazon-bedrock": "^5.0.8",
"@ai-sdk/anthropic": "^4.0.5",
"@ai-sdk/google": "^4.0.6",
"@ai-sdk/google-vertex": "^5.0.8",
"@ai-sdk/openai": "^4.0.5",
"@anthropic-ai/claude-agent-sdk": "^0.2.111",
"@codemirror/lang-markdown": "^6.5.0",
"@codemirror/lang-yaml": "^6.1.3",
"@codemirror/state": "^6.6.0",
"@codemirror/theme-one-dark": "^6.1.3",
"@codemirror/view": "^6.41.1",
"@codesandbox/sandpack-react": "^2.20.0",
"@google/genai": "^1.43.0",
"@hugeicons/core-free-icons": "^4.1.4",
"@hugeicons/react": "^1.1.6",
"@larksuiteoapi/node-sdk": "^1.59.0",
"@lobehub/icons": "^4.12.0",
"@phosphor-icons/react": "^2.1.10",
"@radix-ui/react-use-controllable-state": "^1.2.2",
"@sentry/browser": "^9.27.0",
"@sentry/electron": "^6.3.0",
"@sentry/node": "^9.27.0",
"@streamdown/cjk": "^1.0.1",
"@streamdown/code": "^1.0.1",
"@streamdown/math": "^1.0.1",
"@streamdown/mermaid": "1.0.1",
"@tanstack/react-virtual": "^3.14.5",
"@types/pngjs": "^6.0.5",
"@types/qrcode": "^1.5.6",
"ai": "^7.0.11",
"ansi-to-react": "^6.2.6",
"better-sqlite3": "^12.6.2",
"boring-avatars": "^2.0.4",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"codemirror": "^6.0.2",
"discord.js": "^14.25.1",
"dompurify": "^3.3.3",
"electron-updater": "^6.8.3",
"geist": "^1.7.2",
"html-to-image": "^1.11.13",
"jdenticon": "^3.3.0",
"lucide-react": "^1.14.0",
"markdown-it": "^14.1.1",
"morphdom": "^2.7.8",
"motion": "^12.33.0",
"nanoid": "^5.1.6",
"next": "16.2.1",
"next-themes": "^0.4.6",
"papaparse": "^5.5.3",
"pngjs": "^7.0.0",
"qrcode": "^1.5.4",
"radix-ui": "^1.4.3",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-markdown": "^10.1.0",
"react-syntax-highlighter": "^16.1.0",
"recharts": "^3.7.0",
"rehype-raw": "^7.0.0",
"remark-gfm": "^4.0.1",
"shiki": "^3.22.0",
"streamdown": "^2.1.0",
"tailwind-merge": "^3.4.0",
"tokenlens": "^1.3.1",
"trash": "^10.1.1",
"use-stick-to-bottom": "^1.1.2",
"uuid": "^13.0.0",
"ws": "^8.19.0",
"zlib-sync": "^0.1.10"
},
"devDependencies": {
"@ai-sdk/mcp": "^2.0.7",
"@ai-sdk/openai-compatible": "^3.0.3",
"@playwright/test": "^1.58.1",
"@tailwindcss/postcss": "^4",
"@types/better-sqlite3": "^7.6.13",
"@types/dompurify": "^3.0.5",
"@types/markdown-it": "^14.1.2",
"@types/morphdom": "^2.3.0",
"@types/node": "^20",
"@types/papaparse": "^5.5.2",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.18.1",
"concurrently": "^9.2.1",
"electron": "^40.2.1",
"electron-builder": "^26.8.1",
"esbuild": "^0.27.3",
"eslint": "^9",
"eslint-config-next": "16.2.1",
"husky": "^9.1.7",
"lint-staged": "^16.3.2",
"tailwindcss": "^4",
"tsx": "^4.21.0",
"tw-animate-css": "^1.4.0",
"typescript": "^5",
"wait-on": "^9.0.4"
},
"overrides": {
"@mermaid-js/parser": "1.0.1",
"axios": "1.13.6",
"flatted": "3.4.2",
"hono": "4.12.8",
"lodash-es": "4.17.23",
"mermaid": "11.13.0",
"tar": "7.5.12",
"undici": "6.24.1"
}
}