@pixelbyte-software/pixcode 1.35.0 → 1.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +718 -718
- package/README.de.md +248 -248
- package/README.ja.md +240 -240
- package/README.ko.md +240 -240
- package/README.md +303 -303
- package/README.ru.md +248 -248
- package/README.tr.md +250 -250
- package/README.zh-CN.md +240 -240
- package/dist/api-docs.html +548 -548
- package/dist/assets/{index-Djuh0wHV.js → index-CBdsvGSR.js} +133 -133
- package/dist/clear-cache.html +85 -85
- package/dist/convert-icons.md +52 -52
- package/dist/generate-icons.js +48 -48
- package/dist/icons/codex-white.svg +3 -3
- package/dist/icons/codex.svg +3 -3
- package/dist/icons/cursor-white.svg +11 -11
- package/dist/icons/qwen-logo.svg +14 -14
- package/dist/index.html +58 -58
- package/dist/manifest.json +60 -60
- package/dist/openapi.yaml +1693 -1693
- package/dist/sw.js +124 -124
- package/dist-server/server/cli.js +96 -96
- package/dist-server/server/daemon/manager.js +33 -33
- package/dist-server/server/daemon-manager.js +64 -64
- package/dist-server/server/modules/orchestration/preview/preview-proxy.js +3 -3
- package/dist-server/server/modules/orchestration/preview/preview-proxy.js.map +1 -1
- package/dist-server/server/routes/commands.js +25 -25
- package/dist-server/server/routes/git.js +17 -17
- package/dist-server/server/routes/taskmaster.js +419 -419
- package/package.json +180 -180
- package/scripts/fix-node-pty.js +67 -67
- package/scripts/smoke/a2a-roundtrip.mjs +167 -167
- package/scripts/smoke/orchestration-api.mjs +172 -172
- package/scripts/smoke/orchestration-live-run.mjs +176 -176
- package/server/claude-sdk.js +898 -898
- package/server/cli.js +935 -935
- package/server/constants/config.js +4 -4
- package/server/cursor-cli.js +342 -342
- package/server/daemon/manager.js +564 -564
- package/server/daemon-manager.js +959 -959
- package/server/database/json-store.js +197 -197
- package/server/gemini-cli.js +535 -535
- package/server/gemini-response-handler.js +79 -79
- package/server/index.js +3135 -3135
- package/server/load-env.js +34 -34
- package/server/middleware/auth.js +173 -173
- package/server/modules/orchestration/a2a/adapter-registry.ts +108 -108
- package/server/modules/orchestration/a2a/adapters/abstract-a2a.adapter.ts +55 -55
- package/server/modules/orchestration/a2a/adapters/claude-code.adapter.ts +284 -284
- package/server/modules/orchestration/a2a/adapters/codex.adapter.ts +244 -244
- package/server/modules/orchestration/a2a/adapters/cursor.adapter.ts +249 -249
- package/server/modules/orchestration/a2a/adapters/gemini.adapter.ts +248 -248
- package/server/modules/orchestration/a2a/adapters/opencode.adapter.ts +248 -248
- package/server/modules/orchestration/a2a/adapters/qwen.adapter.ts +248 -248
- package/server/modules/orchestration/a2a/agent-card.ts +55 -55
- package/server/modules/orchestration/a2a/auth.middleware.ts +29 -29
- package/server/modules/orchestration/a2a/bus.ts +46 -46
- package/server/modules/orchestration/a2a/routes.ts +577 -577
- package/server/modules/orchestration/a2a/task-store.ts +178 -178
- package/server/modules/orchestration/a2a/types.ts +125 -125
- package/server/modules/orchestration/a2a/validator.ts +113 -113
- package/server/modules/orchestration/index.ts +66 -66
- package/server/modules/orchestration/preview/port-watcher.ts +112 -112
- package/server/modules/orchestration/preview/preview-proxy.ts +60 -60
- package/server/modules/orchestration/preview/types.ts +19 -19
- package/server/modules/orchestration/tasks/orchestration-task-store.ts +45 -45
- package/server/modules/orchestration/tasks/orchestration-task.routes.ts +73 -73
- package/server/modules/orchestration/tasks/orchestration-task.service.ts +145 -145
- package/server/modules/orchestration/tasks/orchestration-task.types.ts +29 -29
- package/server/modules/orchestration/workflows/built-in-workflows.ts +127 -127
- package/server/modules/orchestration/workflows/workflow-runner.ts +1206 -1206
- package/server/modules/orchestration/workflows/workflow-store.ts +97 -97
- package/server/modules/orchestration/workflows/workflow.routes.ts +169 -169
- package/server/modules/orchestration/workflows/workflow.types.ts +70 -70
- package/server/modules/orchestration/workflows/workspace-target.ts +120 -120
- package/server/modules/orchestration/workspace/docker-workspace.ts +135 -135
- package/server/modules/orchestration/workspace/path-safety.ts +55 -55
- package/server/modules/orchestration/workspace/types.ts +52 -52
- package/server/modules/orchestration/workspace/workspace-manager.ts +97 -97
- package/server/modules/orchestration/workspace/worktree-workspace.ts +125 -125
- package/server/modules/providers/index.ts +2 -2
- package/server/modules/providers/list/claude/claude-auth.provider.ts +145 -145
- package/server/modules/providers/list/claude/claude-mcp.provider.ts +135 -135
- package/server/modules/providers/list/claude/claude-sessions.provider.ts +306 -306
- package/server/modules/providers/list/claude/claude.provider.ts +15 -15
- package/server/modules/providers/list/codex/codex-auth.provider.ts +115 -115
- package/server/modules/providers/list/codex/codex-mcp.provider.ts +135 -135
- package/server/modules/providers/list/codex/codex-sessions.provider.ts +319 -319
- package/server/modules/providers/list/codex/codex.provider.ts +15 -15
- package/server/modules/providers/list/cursor/cursor-auth.provider.ts +143 -143
- package/server/modules/providers/list/cursor/cursor-mcp.provider.ts +108 -108
- package/server/modules/providers/list/cursor/cursor-sessions.provider.ts +421 -421
- package/server/modules/providers/list/cursor/cursor.provider.ts +15 -15
- package/server/modules/providers/list/gemini/gemini-auth.provider.ts +163 -163
- package/server/modules/providers/list/gemini/gemini-mcp.provider.ts +110 -110
- package/server/modules/providers/list/gemini/gemini-sessions.provider.ts +227 -227
- package/server/modules/providers/list/gemini/gemini.provider.ts +15 -15
- package/server/modules/providers/list/opencode/opencode-sessions.provider.ts +232 -232
- package/server/modules/providers/list/qwen/qwen-sessions.provider.ts +265 -265
- package/server/modules/providers/provider.registry.ts +40 -40
- package/server/modules/providers/provider.routes.ts +819 -819
- package/server/modules/providers/services/mcp.service.ts +86 -86
- package/server/modules/providers/services/provider-auth.service.ts +26 -26
- package/server/modules/providers/services/sessions.service.ts +45 -45
- package/server/modules/providers/shared/base/abstract.provider.ts +20 -20
- package/server/modules/providers/shared/mcp/mcp.provider.ts +151 -151
- package/server/modules/providers/tests/mcp.test.ts +293 -293
- package/server/openai-codex.js +462 -462
- package/server/opencode-cli.js +459 -459
- package/server/opencode-response-handler.js +107 -107
- package/server/projects.js +3105 -3105
- package/server/routes/agent.js +1365 -1365
- package/server/routes/auth.js +138 -138
- package/server/routes/codex.js +19 -19
- package/server/routes/commands.js +554 -554
- package/server/routes/cursor.js +52 -52
- package/server/routes/gemini.js +24 -24
- package/server/routes/git.js +1488 -1488
- package/server/routes/mcp-utils.js +31 -31
- package/server/routes/messages.js +61 -61
- package/server/routes/network.js +120 -120
- package/server/routes/plugins.js +318 -318
- package/server/routes/projects.js +915 -915
- package/server/routes/settings.js +286 -286
- package/server/routes/taskmaster.js +1496 -1496
- package/server/routes/telegram.js +125 -125
- package/server/routes/user.js +123 -123
- package/server/services/install-jobs.js +571 -571
- package/server/services/notification-orchestrator.js +242 -242
- package/server/services/provider-credentials.js +189 -189
- package/server/services/telegram/bot.js +279 -279
- package/server/services/telegram/translations.js +170 -170
- package/server/sessionManager.js +225 -225
- package/server/shared/interfaces.ts +54 -54
- package/server/shared/types.ts +172 -172
- package/server/shared/utils.ts +193 -193
- package/server/tsconfig.json +36 -36
- package/server/utils/colors.js +21 -21
- package/server/utils/commandParser.js +303 -303
- package/server/utils/frontmatter.js +18 -18
- package/server/utils/gitConfig.js +34 -34
- package/server/utils/mcp-detector.js +147 -147
- package/server/utils/plugin-loader.js +457 -457
- package/server/utils/plugin-process-manager.js +184 -184
- package/server/utils/runtime-paths.js +37 -37
- package/server/utils/taskmaster-websocket.js +128 -128
- package/server/utils/url-detection.js +71 -71
- package/server/vite-daemon.js +78 -78
- package/shared/modelConstants.js +162 -162
- package/shared/networkHosts.js +22 -22
package/package.json
CHANGED
|
@@ -1,180 +1,180 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@pixelbyte-software/pixcode",
|
|
3
|
-
"version": "1.35.
|
|
4
|
-
"description": "Pixcode — a desktop and mobile web UI for Claude Code, Cursor CLI, Codex, Gemini CLI, Qwen Code, and OpenCode.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist-server/server/index.js",
|
|
7
|
-
"bin": {
|
|
8
|
-
"pixcode": "dist-server/server/cli.js"
|
|
9
|
-
},
|
|
10
|
-
"files": [
|
|
11
|
-
"server/",
|
|
12
|
-
"shared/",
|
|
13
|
-
"dist/",
|
|
14
|
-
"dist-server/",
|
|
15
|
-
"scripts/",
|
|
16
|
-
"README.md"
|
|
17
|
-
],
|
|
18
|
-
"homepage": "https://github.com/alicomert/pixcode",
|
|
19
|
-
"repository": {
|
|
20
|
-
"type": "git",
|
|
21
|
-
"url": "git+https://github.com/alicomert/pixcode.git"
|
|
22
|
-
},
|
|
23
|
-
"bugs": {
|
|
24
|
-
"url": "https://github.com/alicomert/pixcode/issues"
|
|
25
|
-
},
|
|
26
|
-
"publishConfig": {
|
|
27
|
-
"access": "public"
|
|
28
|
-
},
|
|
29
|
-
"scripts": {
|
|
30
|
-
"dev": "npm run server:dev",
|
|
31
|
-
"server": "node dist-server/server/cli.js start",
|
|
32
|
-
"server:dev": "node server/cli.js daemon install --mode system --port 3001 --frontend-port 5173",
|
|
33
|
-
"server:dev-watch": "node server/cli.js daemon restart --mode system --port 3001 --frontend-port 5173",
|
|
34
|
-
"client": "vite",
|
|
35
|
-
"build": "npm run build:client && npm run build:server",
|
|
36
|
-
"build:client": "vite build",
|
|
37
|
-
"prebuild:server": "node -e \"require('node:fs').rmSync('dist-server', { recursive: true, force: true })\"",
|
|
38
|
-
"build:server": "tsc -p server/tsconfig.json && tsc-alias -p server/tsconfig.json",
|
|
39
|
-
"preview": "vite preview",
|
|
40
|
-
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p server/tsconfig.json",
|
|
41
|
-
"lint": "eslint src/ server/",
|
|
42
|
-
"lint:fix": "eslint src/ server/ --fix",
|
|
43
|
-
"smoke:orchestration-api": "node scripts/smoke/orchestration-api.mjs",
|
|
44
|
-
"smoke:orchestration-live": "node scripts/smoke/orchestration-live-run.mjs",
|
|
45
|
-
"start": "npm run build && npm run server",
|
|
46
|
-
"release": "./release.sh",
|
|
47
|
-
"prepublishOnly": "npm run build",
|
|
48
|
-
"postinstall": "node scripts/fix-node-pty.js",
|
|
49
|
-
"prepare": "husky",
|
|
50
|
-
"update:platform": "./update-platform.sh"
|
|
51
|
-
},
|
|
52
|
-
"keywords": [
|
|
53
|
-
"claude code",
|
|
54
|
-
"claude-code",
|
|
55
|
-
"pixcode",
|
|
56
|
-
"codex",
|
|
57
|
-
"gemini",
|
|
58
|
-
"gemini-cli",
|
|
59
|
-
"cursor",
|
|
60
|
-
"cursor-cli",
|
|
61
|
-
"opencode",
|
|
62
|
-
"opencode-cli",
|
|
63
|
-
"anthropic",
|
|
64
|
-
"openai",
|
|
65
|
-
"google",
|
|
66
|
-
"coding-agent",
|
|
67
|
-
"web-ui",
|
|
68
|
-
"ui",
|
|
69
|
-
"mobile IDE"
|
|
70
|
-
],
|
|
71
|
-
"author": "Pixcode Contributors",
|
|
72
|
-
"license": "AGPL-3.0-or-later",
|
|
73
|
-
"dependencies": {
|
|
74
|
-
"@anthropic-ai/claude-agent-sdk": "^0.2.116",
|
|
75
|
-
"@iarna/toml": "^2.2.5",
|
|
76
|
-
"@octokit/rest": "^22.0.0",
|
|
77
|
-
"@openai/codex-sdk": "^0.101.0",
|
|
78
|
-
"bcryptjs": "^3.0.3",
|
|
79
|
-
"better-sqlite3": "^12.6.2",
|
|
80
|
-
"chokidar": "^4.0.3",
|
|
81
|
-
"cors": "^2.8.5",
|
|
82
|
-
"cross-spawn": "^7.0.3",
|
|
83
|
-
"express": "^4.18.2",
|
|
84
|
-
"gray-matter": "^4.0.3",
|
|
85
|
-
"jsonwebtoken": "^9.0.2",
|
|
86
|
-
"mime-types": "^3.0.1",
|
|
87
|
-
"multer": "^2.0.1",
|
|
88
|
-
"node-fetch": "^2.7.0",
|
|
89
|
-
"node-pty": "^1.2.0-beta.12",
|
|
90
|
-
"tar": "^7.5.13",
|
|
91
|
-
"web-push": "^3.6.7",
|
|
92
|
-
"ws": "^8.14.2"
|
|
93
|
-
},
|
|
94
|
-
"devDependencies": {
|
|
95
|
-
"@codemirror/lang-css": "^6.3.1",
|
|
96
|
-
"@codemirror/lang-html": "^6.4.9",
|
|
97
|
-
"@codemirror/lang-javascript": "^6.2.4",
|
|
98
|
-
"@codemirror/lang-json": "^6.0.1",
|
|
99
|
-
"@codemirror/lang-markdown": "^6.3.3",
|
|
100
|
-
"@codemirror/lang-python": "^6.2.1",
|
|
101
|
-
"@codemirror/merge": "^6.11.1",
|
|
102
|
-
"@codemirror/theme-one-dark": "^6.1.2",
|
|
103
|
-
"@commitlint/cli": "^20.5.0",
|
|
104
|
-
"@commitlint/config-conventional": "^20.5.0",
|
|
105
|
-
"@eslint/js": "^9.39.3",
|
|
106
|
-
"@heroicons/react": "^2.2.0",
|
|
107
|
-
"@release-it/conventional-changelog": "^10.0.5",
|
|
108
|
-
"@replit/codemirror-minimap": "^0.5.2",
|
|
109
|
-
"@tailwindcss/typography": "^0.5.16",
|
|
110
|
-
"@types/better-sqlite3": "^7.6.13",
|
|
111
|
-
"@types/cross-spawn": "^6.0.6",
|
|
112
|
-
"@types/express": "^5.0.6",
|
|
113
|
-
"@types/node": "^22.19.7",
|
|
114
|
-
"@types/qrcode": "^1.5.6",
|
|
115
|
-
"@types/react": "^18.2.43",
|
|
116
|
-
"@types/react-dom": "^18.2.17",
|
|
117
|
-
"@uiw/react-codemirror": "^4.23.13",
|
|
118
|
-
"@vitejs/plugin-react": "^4.6.0",
|
|
119
|
-
"@xterm/addon-clipboard": "^0.1.0",
|
|
120
|
-
"@xterm/addon-fit": "^0.10.0",
|
|
121
|
-
"@xterm/addon-web-links": "^0.11.0",
|
|
122
|
-
"@xterm/addon-webgl": "^0.18.0",
|
|
123
|
-
"@xterm/xterm": "^5.5.0",
|
|
124
|
-
"auto-changelog": "^2.5.0",
|
|
125
|
-
"autoprefixer": "^10.4.16",
|
|
126
|
-
"class-variance-authority": "^0.7.1",
|
|
127
|
-
"clsx": "^2.1.1",
|
|
128
|
-
"concurrently": "^8.2.2",
|
|
129
|
-
"eslint": "^9.39.3",
|
|
130
|
-
"eslint-import-resolver-typescript": "^4.4.4",
|
|
131
|
-
"eslint-plugin-boundaries": "^6.0.2",
|
|
132
|
-
"eslint-plugin-import-x": "^4.16.1",
|
|
133
|
-
"eslint-plugin-react": "^7.37.5",
|
|
134
|
-
"eslint-plugin-react-hooks": "^7.0.1",
|
|
135
|
-
"eslint-plugin-react-refresh": "^0.5.2",
|
|
136
|
-
"eslint-plugin-tailwindcss": "^3.18.2",
|
|
137
|
-
"eslint-plugin-unused-imports": "^4.4.1",
|
|
138
|
-
"fuse.js": "^7.0.0",
|
|
139
|
-
"globals": "^17.4.0",
|
|
140
|
-
"gsap": "^3.12.5",
|
|
141
|
-
"husky": "^9.1.7",
|
|
142
|
-
"i18next": "^25.7.4",
|
|
143
|
-
"i18next-browser-languagedetector": "^8.2.0",
|
|
144
|
-
"jszip": "^3.10.1",
|
|
145
|
-
"katex": "^0.16.25",
|
|
146
|
-
"lint-staged": "^16.3.2",
|
|
147
|
-
"lucide-react": "^0.515.0",
|
|
148
|
-
"node-gyp": "^12.0.0",
|
|
149
|
-
"postcss": "^8.4.32",
|
|
150
|
-
"qrcode": "^1.5.4",
|
|
151
|
-
"react": "^18.2.0",
|
|
152
|
-
"react-dom": "^18.2.0",
|
|
153
|
-
"react-dropzone": "^14.2.3",
|
|
154
|
-
"react-error-boundary": "^4.1.2",
|
|
155
|
-
"react-i18next": "^16.5.3",
|
|
156
|
-
"react-markdown": "^10.1.0",
|
|
157
|
-
"react-router-dom": "^6.8.1",
|
|
158
|
-
"react-syntax-highlighter": "^16.1.1",
|
|
159
|
-
"rehype-katex": "^7.0.1",
|
|
160
|
-
"rehype-raw": "^7.0.0",
|
|
161
|
-
"release-it": "^19.0.5",
|
|
162
|
-
"remark-gfm": "^4.0.0",
|
|
163
|
-
"remark-math": "^6.0.0",
|
|
164
|
-
"sharp": "^0.34.2",
|
|
165
|
-
"tailwind-merge": "^3.3.1",
|
|
166
|
-
"tailwindcss": "^3.4.0",
|
|
167
|
-
"tsc-alias": "^1.8.16",
|
|
168
|
-
"tsx": "^4.21.0",
|
|
169
|
-
"typescript": "^5.9.3",
|
|
170
|
-
"typescript-eslint": "^8.56.1",
|
|
171
|
-
"vite": "^7.0.4"
|
|
172
|
-
},
|
|
173
|
-
"lint-staged": {
|
|
174
|
-
"src/**/*.{ts,tsx,js,jsx}": "eslint",
|
|
175
|
-
"server/**/*.{js,ts}": "eslint"
|
|
176
|
-
},
|
|
177
|
-
"overrides": {
|
|
178
|
-
"undici": ">=6.23.1"
|
|
179
|
-
}
|
|
180
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@pixelbyte-software/pixcode",
|
|
3
|
+
"version": "1.35.1",
|
|
4
|
+
"description": "Pixcode — a desktop and mobile web UI for Claude Code, Cursor CLI, Codex, Gemini CLI, Qwen Code, and OpenCode.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist-server/server/index.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"pixcode": "dist-server/server/cli.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"server/",
|
|
12
|
+
"shared/",
|
|
13
|
+
"dist/",
|
|
14
|
+
"dist-server/",
|
|
15
|
+
"scripts/",
|
|
16
|
+
"README.md"
|
|
17
|
+
],
|
|
18
|
+
"homepage": "https://github.com/alicomert/pixcode",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/alicomert/pixcode.git"
|
|
22
|
+
},
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/alicomert/pixcode/issues"
|
|
25
|
+
},
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public"
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"dev": "npm run server:dev",
|
|
31
|
+
"server": "node dist-server/server/cli.js start",
|
|
32
|
+
"server:dev": "node server/cli.js daemon install --mode system --port 3001 --frontend-port 5173",
|
|
33
|
+
"server:dev-watch": "node server/cli.js daemon restart --mode system --port 3001 --frontend-port 5173",
|
|
34
|
+
"client": "vite",
|
|
35
|
+
"build": "npm run build:client && npm run build:server",
|
|
36
|
+
"build:client": "vite build",
|
|
37
|
+
"prebuild:server": "node -e \"require('node:fs').rmSync('dist-server', { recursive: true, force: true })\"",
|
|
38
|
+
"build:server": "tsc -p server/tsconfig.json && tsc-alias -p server/tsconfig.json",
|
|
39
|
+
"preview": "vite preview",
|
|
40
|
+
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p server/tsconfig.json",
|
|
41
|
+
"lint": "eslint src/ server/",
|
|
42
|
+
"lint:fix": "eslint src/ server/ --fix",
|
|
43
|
+
"smoke:orchestration-api": "node scripts/smoke/orchestration-api.mjs",
|
|
44
|
+
"smoke:orchestration-live": "node scripts/smoke/orchestration-live-run.mjs",
|
|
45
|
+
"start": "npm run build && npm run server",
|
|
46
|
+
"release": "./release.sh",
|
|
47
|
+
"prepublishOnly": "npm run build",
|
|
48
|
+
"postinstall": "node scripts/fix-node-pty.js",
|
|
49
|
+
"prepare": "husky",
|
|
50
|
+
"update:platform": "./update-platform.sh"
|
|
51
|
+
},
|
|
52
|
+
"keywords": [
|
|
53
|
+
"claude code",
|
|
54
|
+
"claude-code",
|
|
55
|
+
"pixcode",
|
|
56
|
+
"codex",
|
|
57
|
+
"gemini",
|
|
58
|
+
"gemini-cli",
|
|
59
|
+
"cursor",
|
|
60
|
+
"cursor-cli",
|
|
61
|
+
"opencode",
|
|
62
|
+
"opencode-cli",
|
|
63
|
+
"anthropic",
|
|
64
|
+
"openai",
|
|
65
|
+
"google",
|
|
66
|
+
"coding-agent",
|
|
67
|
+
"web-ui",
|
|
68
|
+
"ui",
|
|
69
|
+
"mobile IDE"
|
|
70
|
+
],
|
|
71
|
+
"author": "Pixcode Contributors",
|
|
72
|
+
"license": "AGPL-3.0-or-later",
|
|
73
|
+
"dependencies": {
|
|
74
|
+
"@anthropic-ai/claude-agent-sdk": "^0.2.116",
|
|
75
|
+
"@iarna/toml": "^2.2.5",
|
|
76
|
+
"@octokit/rest": "^22.0.0",
|
|
77
|
+
"@openai/codex-sdk": "^0.101.0",
|
|
78
|
+
"bcryptjs": "^3.0.3",
|
|
79
|
+
"better-sqlite3": "^12.6.2",
|
|
80
|
+
"chokidar": "^4.0.3",
|
|
81
|
+
"cors": "^2.8.5",
|
|
82
|
+
"cross-spawn": "^7.0.3",
|
|
83
|
+
"express": "^4.18.2",
|
|
84
|
+
"gray-matter": "^4.0.3",
|
|
85
|
+
"jsonwebtoken": "^9.0.2",
|
|
86
|
+
"mime-types": "^3.0.1",
|
|
87
|
+
"multer": "^2.0.1",
|
|
88
|
+
"node-fetch": "^2.7.0",
|
|
89
|
+
"node-pty": "^1.2.0-beta.12",
|
|
90
|
+
"tar": "^7.5.13",
|
|
91
|
+
"web-push": "^3.6.7",
|
|
92
|
+
"ws": "^8.14.2"
|
|
93
|
+
},
|
|
94
|
+
"devDependencies": {
|
|
95
|
+
"@codemirror/lang-css": "^6.3.1",
|
|
96
|
+
"@codemirror/lang-html": "^6.4.9",
|
|
97
|
+
"@codemirror/lang-javascript": "^6.2.4",
|
|
98
|
+
"@codemirror/lang-json": "^6.0.1",
|
|
99
|
+
"@codemirror/lang-markdown": "^6.3.3",
|
|
100
|
+
"@codemirror/lang-python": "^6.2.1",
|
|
101
|
+
"@codemirror/merge": "^6.11.1",
|
|
102
|
+
"@codemirror/theme-one-dark": "^6.1.2",
|
|
103
|
+
"@commitlint/cli": "^20.5.0",
|
|
104
|
+
"@commitlint/config-conventional": "^20.5.0",
|
|
105
|
+
"@eslint/js": "^9.39.3",
|
|
106
|
+
"@heroicons/react": "^2.2.0",
|
|
107
|
+
"@release-it/conventional-changelog": "^10.0.5",
|
|
108
|
+
"@replit/codemirror-minimap": "^0.5.2",
|
|
109
|
+
"@tailwindcss/typography": "^0.5.16",
|
|
110
|
+
"@types/better-sqlite3": "^7.6.13",
|
|
111
|
+
"@types/cross-spawn": "^6.0.6",
|
|
112
|
+
"@types/express": "^5.0.6",
|
|
113
|
+
"@types/node": "^22.19.7",
|
|
114
|
+
"@types/qrcode": "^1.5.6",
|
|
115
|
+
"@types/react": "^18.2.43",
|
|
116
|
+
"@types/react-dom": "^18.2.17",
|
|
117
|
+
"@uiw/react-codemirror": "^4.23.13",
|
|
118
|
+
"@vitejs/plugin-react": "^4.6.0",
|
|
119
|
+
"@xterm/addon-clipboard": "^0.1.0",
|
|
120
|
+
"@xterm/addon-fit": "^0.10.0",
|
|
121
|
+
"@xterm/addon-web-links": "^0.11.0",
|
|
122
|
+
"@xterm/addon-webgl": "^0.18.0",
|
|
123
|
+
"@xterm/xterm": "^5.5.0",
|
|
124
|
+
"auto-changelog": "^2.5.0",
|
|
125
|
+
"autoprefixer": "^10.4.16",
|
|
126
|
+
"class-variance-authority": "^0.7.1",
|
|
127
|
+
"clsx": "^2.1.1",
|
|
128
|
+
"concurrently": "^8.2.2",
|
|
129
|
+
"eslint": "^9.39.3",
|
|
130
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
131
|
+
"eslint-plugin-boundaries": "^6.0.2",
|
|
132
|
+
"eslint-plugin-import-x": "^4.16.1",
|
|
133
|
+
"eslint-plugin-react": "^7.37.5",
|
|
134
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
135
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
136
|
+
"eslint-plugin-tailwindcss": "^3.18.2",
|
|
137
|
+
"eslint-plugin-unused-imports": "^4.4.1",
|
|
138
|
+
"fuse.js": "^7.0.0",
|
|
139
|
+
"globals": "^17.4.0",
|
|
140
|
+
"gsap": "^3.12.5",
|
|
141
|
+
"husky": "^9.1.7",
|
|
142
|
+
"i18next": "^25.7.4",
|
|
143
|
+
"i18next-browser-languagedetector": "^8.2.0",
|
|
144
|
+
"jszip": "^3.10.1",
|
|
145
|
+
"katex": "^0.16.25",
|
|
146
|
+
"lint-staged": "^16.3.2",
|
|
147
|
+
"lucide-react": "^0.515.0",
|
|
148
|
+
"node-gyp": "^12.0.0",
|
|
149
|
+
"postcss": "^8.4.32",
|
|
150
|
+
"qrcode": "^1.5.4",
|
|
151
|
+
"react": "^18.2.0",
|
|
152
|
+
"react-dom": "^18.2.0",
|
|
153
|
+
"react-dropzone": "^14.2.3",
|
|
154
|
+
"react-error-boundary": "^4.1.2",
|
|
155
|
+
"react-i18next": "^16.5.3",
|
|
156
|
+
"react-markdown": "^10.1.0",
|
|
157
|
+
"react-router-dom": "^6.8.1",
|
|
158
|
+
"react-syntax-highlighter": "^16.1.1",
|
|
159
|
+
"rehype-katex": "^7.0.1",
|
|
160
|
+
"rehype-raw": "^7.0.0",
|
|
161
|
+
"release-it": "^19.0.5",
|
|
162
|
+
"remark-gfm": "^4.0.0",
|
|
163
|
+
"remark-math": "^6.0.0",
|
|
164
|
+
"sharp": "^0.34.2",
|
|
165
|
+
"tailwind-merge": "^3.3.1",
|
|
166
|
+
"tailwindcss": "^3.4.0",
|
|
167
|
+
"tsc-alias": "^1.8.16",
|
|
168
|
+
"tsx": "^4.21.0",
|
|
169
|
+
"typescript": "^5.9.3",
|
|
170
|
+
"typescript-eslint": "^8.56.1",
|
|
171
|
+
"vite": "^7.0.4"
|
|
172
|
+
},
|
|
173
|
+
"lint-staged": {
|
|
174
|
+
"src/**/*.{ts,tsx,js,jsx}": "eslint",
|
|
175
|
+
"server/**/*.{js,ts}": "eslint"
|
|
176
|
+
},
|
|
177
|
+
"overrides": {
|
|
178
|
+
"undici": ">=6.23.1"
|
|
179
|
+
}
|
|
180
|
+
}
|
package/scripts/fix-node-pty.js
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
/**
|
|
3
|
-
* Fix node-pty spawn-helper permissions on macOS
|
|
4
|
-
*
|
|
5
|
-
* This script fixes a known issue with node-pty where the spawn-helper
|
|
6
|
-
* binary is shipped without execute permissions, causing "posix_spawnp failed" errors.
|
|
7
|
-
*
|
|
8
|
-
* @see https://github.com/microsoft/node-pty/issues/850
|
|
9
|
-
* @module scripts/fix-node-pty
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
import { promises as fs } from 'fs';
|
|
13
|
-
import path from 'path';
|
|
14
|
-
import { fileURLToPath } from 'url';
|
|
15
|
-
|
|
16
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
17
|
-
const __dirname = path.dirname(__filename);
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Fixes the spawn-helper binary permissions for node-pty on macOS.
|
|
21
|
-
*
|
|
22
|
-
* The node-pty package ships the spawn-helper binary without execute permissions
|
|
23
|
-
* (644 instead of 755), which causes "posix_spawnp failed" errors when trying
|
|
24
|
-
* to spawn terminal processes.
|
|
25
|
-
*
|
|
26
|
-
* This function:
|
|
27
|
-
* 1. Checks if running on macOS (darwin)
|
|
28
|
-
* 2. Locates spawn-helper binaries for both arm64 and x64 architectures
|
|
29
|
-
* 3. Sets execute permissions (755) on each binary found
|
|
30
|
-
*
|
|
31
|
-
* @async
|
|
32
|
-
* @function fixSpawnHelper
|
|
33
|
-
* @returns {Promise<void>} Resolves when permissions are fixed or skipped
|
|
34
|
-
* @example
|
|
35
|
-
* // Run as postinstall script
|
|
36
|
-
* await fixSpawnHelper();
|
|
37
|
-
*/
|
|
38
|
-
async function fixSpawnHelper() {
|
|
39
|
-
const nodeModulesPath = path.join(__dirname, '..', 'node_modules', 'node-pty', 'prebuilds');
|
|
40
|
-
|
|
41
|
-
// Only run on macOS
|
|
42
|
-
if (process.platform !== 'darwin') {
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
const darwinDirs = ['darwin-arm64', 'darwin-x64'];
|
|
47
|
-
|
|
48
|
-
for (const dir of darwinDirs) {
|
|
49
|
-
const spawnHelperPath = path.join(nodeModulesPath, dir, 'spawn-helper');
|
|
50
|
-
|
|
51
|
-
try {
|
|
52
|
-
// Check if file exists
|
|
53
|
-
await fs.access(spawnHelperPath);
|
|
54
|
-
|
|
55
|
-
// Make it executable (755)
|
|
56
|
-
await fs.chmod(spawnHelperPath, 0o755);
|
|
57
|
-
console.log(`[postinstall] Fixed permissions for ${spawnHelperPath}`);
|
|
58
|
-
} catch (err) {
|
|
59
|
-
// File doesn't exist or other error - ignore
|
|
60
|
-
if (err.code !== 'ENOENT') {
|
|
61
|
-
console.warn(`[postinstall] Warning: Could not fix ${spawnHelperPath}: ${err.message}`);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
fixSpawnHelper().catch(console.error);
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Fix node-pty spawn-helper permissions on macOS
|
|
4
|
+
*
|
|
5
|
+
* This script fixes a known issue with node-pty where the spawn-helper
|
|
6
|
+
* binary is shipped without execute permissions, causing "posix_spawnp failed" errors.
|
|
7
|
+
*
|
|
8
|
+
* @see https://github.com/microsoft/node-pty/issues/850
|
|
9
|
+
* @module scripts/fix-node-pty
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import { promises as fs } from 'fs';
|
|
13
|
+
import path from 'path';
|
|
14
|
+
import { fileURLToPath } from 'url';
|
|
15
|
+
|
|
16
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
17
|
+
const __dirname = path.dirname(__filename);
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Fixes the spawn-helper binary permissions for node-pty on macOS.
|
|
21
|
+
*
|
|
22
|
+
* The node-pty package ships the spawn-helper binary without execute permissions
|
|
23
|
+
* (644 instead of 755), which causes "posix_spawnp failed" errors when trying
|
|
24
|
+
* to spawn terminal processes.
|
|
25
|
+
*
|
|
26
|
+
* This function:
|
|
27
|
+
* 1. Checks if running on macOS (darwin)
|
|
28
|
+
* 2. Locates spawn-helper binaries for both arm64 and x64 architectures
|
|
29
|
+
* 3. Sets execute permissions (755) on each binary found
|
|
30
|
+
*
|
|
31
|
+
* @async
|
|
32
|
+
* @function fixSpawnHelper
|
|
33
|
+
* @returns {Promise<void>} Resolves when permissions are fixed or skipped
|
|
34
|
+
* @example
|
|
35
|
+
* // Run as postinstall script
|
|
36
|
+
* await fixSpawnHelper();
|
|
37
|
+
*/
|
|
38
|
+
async function fixSpawnHelper() {
|
|
39
|
+
const nodeModulesPath = path.join(__dirname, '..', 'node_modules', 'node-pty', 'prebuilds');
|
|
40
|
+
|
|
41
|
+
// Only run on macOS
|
|
42
|
+
if (process.platform !== 'darwin') {
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
const darwinDirs = ['darwin-arm64', 'darwin-x64'];
|
|
47
|
+
|
|
48
|
+
for (const dir of darwinDirs) {
|
|
49
|
+
const spawnHelperPath = path.join(nodeModulesPath, dir, 'spawn-helper');
|
|
50
|
+
|
|
51
|
+
try {
|
|
52
|
+
// Check if file exists
|
|
53
|
+
await fs.access(spawnHelperPath);
|
|
54
|
+
|
|
55
|
+
// Make it executable (755)
|
|
56
|
+
await fs.chmod(spawnHelperPath, 0o755);
|
|
57
|
+
console.log(`[postinstall] Fixed permissions for ${spawnHelperPath}`);
|
|
58
|
+
} catch (err) {
|
|
59
|
+
// File doesn't exist or other error - ignore
|
|
60
|
+
if (err.code !== 'ENOENT') {
|
|
61
|
+
console.warn(`[postinstall] Warning: Could not fix ${spawnHelperPath}: ${err.message}`);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
fixSpawnHelper().catch(console.error);
|