Files
openchamber/package.json
T
2026-11-22 02:19:13 +02:00

216 lines
9.8 KiB
JSON

{
"name": "openchamber-monorepo",
"version": "2.8.0",
"description": "OpenChamber monorepo workspace for web, ui, and desktop runtimes",
"private": true,
"type": "module",
"packageManager": "bun@1.4.5",
"workspaces": [
"packages/*",
"packages/sdk/examples/*"
],
"engines": {
"node": ">=24.14.0"
},
"keywords": [
"opencode",
"ai",
"coding",
"openchamber",
"cli"
],
"author": "Bohdan Triapitsyn",
"license": "MIT",
"scripts": {
"dev": "node ./scripts/dev-web-hmr.mjs",
"oc-dev": "node scripts/oc-dev.mjs",
"build": "bun run --sequential --filter '!@openchamber/mobile' build && bun run --cwd packages/mobile build:assets",
"build:server": "bun run --cwd packages/web build:server",
"build:web": "bun run --cwd packages/web build",
"build:web:diag": "bun run --cwd packages/web build:diag",
"build:ui": "bun run --cwd packages/ui build",
"extensions:build": "bun scripts/build-builtin-extensions.mjs",
"build:electron": "bun run --cwd packages/electron build",
"build:mobile": "bun run --cwd packages/mobile build",
"type-check": "bun check -b && bun run --cwd packages/web type-check:server && bun run --cwd packages/electron type-check",
"type-check:web": "bun run --cwd packages/web type-check",
"type-check:ui": "bun run --cwd packages/ui type-check",
"settings-registry:generate": "bun run --cwd packages/ui src/lib/settings/registry-snapshot.ts",
"type-check:electron": "bun run --cwd packages/electron type-check",
"lint": "bun run --filter '*' lint",
"lint:web": "bun run --cwd packages/web lint",
"lint:ui": "bun run --cwd packages/ui lint",
"lint:electron": "bun run --cwd packages/electron lint",
"lint:mobile": "bun run --cwd packages/mobile lint",
"lint:anti-slop": "oxlint -c oxlint.anti-slop.config.ts",
"check:changed": "node scripts/check-changed.mjs",
"test": "node scripts/run-isolated-tests.mjs scripts && bun run --cwd packages/sdk test && bun run --cwd packages/ui test && bun run --cwd packages/vscode test && bun run --cwd packages/electron test && bun run --cwd packages/web test",
"clean": "node scripts/clean.mjs",
"changelog-card": "node scripts/changelog-card/generate.mjs",
"changelog:build": "node scripts/changelog/build.mjs",
"changelog:check": "node scripts/changelog/build.mjs --check",
"postinstall": "node ./fix-deprecation.js && bun run --cwd packages/sdk build && bun run extensions:build && node ./packages/electron/scripts/ensure-electron.mjs --best-effort",
"dev:web:server": "bun run --cwd packages/web dev:server:watch",
"start:web": "bun run --cwd packages/web start",
"pack:web": "bun pm pack --cwd packages/web",
"electron:dev": "bun run extensions:build && node --import ./packages/web/scripts/register-server-sources.mjs --conditions=openchamber-source ./packages/electron/scripts/electron-dev.mjs",
"electron:dev:bundled": "bun run extensions:build && OPENCHAMBER_ELECTRON_USE_BUNDLED_UI=1 node --import ./packages/web/scripts/register-server-sources.mjs --conditions=openchamber-source ./packages/electron/scripts/electron-dev.mjs",
"electron:build": "bun run --cwd packages/electron package",
"mobile:build": "bun run --cwd packages/mobile build",
"mobile:sync": "bun run --cwd packages/mobile sync",
"mobile:add:ios": "bun run --cwd packages/mobile add:ios",
"mobile:add:android": "bun run --cwd packages/mobile add:android",
"mobile:build:android:debug": "bun run --cwd packages/mobile build:android:debug",
"mobile:build:ios:simulator": "bun run --cwd packages/mobile build:ios:simulator",
"mobile:sim:boot": "bun run --cwd packages/mobile sim:boot",
"mobile:sim:install": "bun run --cwd packages/mobile sim:install",
"mobile:sim:launch": "bun run --cwd packages/mobile sim:launch",
"mobile:sim:run": "bun run --cwd packages/mobile sim:run",
"mobile:sim:dev": "bun run --cwd packages/mobile sim:dev",
"mobile:sim:serve": "bun run --cwd packages/mobile sim:serve",
"mobile:sim:list": "bun run --cwd packages/mobile sim:list",
"mobile:sim:kill": "bun run --cwd packages/mobile sim:kill",
"mobile:open:ios": "bun run --cwd packages/mobile open:ios",
"mobile:open:android": "bun run --cwd packages/mobile open:android",
"vscode:dev": "node ./scripts/dev-vscode.mjs",
"vscode:build": "bun run --cwd packages/vscode build",
"vscode:package": "bun run --cwd packages/vscode package",
"vscode:type-check": "bun run --cwd packages/vscode type-check",
"docs:validate": "node scripts/docs/validate-docs.mjs",
"dead-code": "bunx knip@5.80.0 --include files,exports,nsExports,types,nsTypes,enumMembers,duplicates",
"doctor": "node scripts/react-doctor.mjs",
"deslop": "node scripts/anti-slop.mjs",
"profile:browser": "node scripts/profile-browser.mjs",
"icons:sprite": "node scripts/generate-file-type-sprite.mjs",
"icons:generate": "bun run scripts/generate-icon-sprite.mjs",
"brand:generate": "bun run scripts/brand/generate.mjs",
"themes:port:opencode": "bun scripts/port-opencode-theme.ts",
"themes:port:opencode:test": "bun test ./scripts/port-opencode-theme.integration.ts",
"version:bump": "node scripts/bump-version.mjs",
"release:prepare": "bun run changelog:check && bun run build && bun run type-check && bun run lint",
"release:test": "./scripts/test-release-build.sh",
"release:test:intel": "./scripts/test-release-build.sh x86_64",
"release:test:arm": "./scripts/test-release-build.sh aarch64",
"profile:idle": "node scripts/profile-idle.mjs",
"profile:soak": "node scripts/profile-soak.mjs",
"profile:session": "node scripts/profile-session.mjs",
"profile:animation": "node scripts/profile-animation.mjs",
"profile:switch": "node scripts/profile-switch.mjs",
"profile:startup": "node scripts/profile-startup.mjs",
"profile:compare": "node scripts/profile-compare.mjs",
"profile:heap": "node scripts/profile-heap.mjs",
"profile:composer": "node scripts/profile-composer.mjs",
"profile:toggle": "node scripts/profile-toggle.mjs",
"profile:ios": "node scripts/profile-ios.mjs",
"profile:serve": "node scripts/perf/isolated-server.mjs",
"profile:analyze": "node scripts/perf/analyze-run.mjs",
"verify": "node scripts/verify/run.mjs"
},
"dependencies": {
"@base-ui/react": "^1.4.0",
"@codemirror/autocomplete": "6.20.4",
"@codemirror/commands": "6.11.1",
"@codemirror/lang-cpp": "^6.0.3",
"@codemirror/lang-css": "^6.3.1",
"@codemirror/lang-go": "^6.0.1",
"@codemirror/lang-html": "6.4.12",
"@codemirror/lang-javascript": "6.2.5",
"@codemirror/lang-json": "^6.0.2",
"@codemirror/lang-markdown": "6.5.2",
"@codemirror/lang-python": "^6.2.1",
"@codemirror/lang-rust": "^6.0.2",
"@codemirror/lang-sql": "^6.10.0",
"@codemirror/lang-xml": "^6.1.0",
"@codemirror/lang-yaml": "6.1.3",
"@codemirror/language": "6.13.1",
"@codemirror/lint": "6.9.8",
"@codemirror/search": "6.7.2",
"@codemirror/state": "6.7.6",
"@codemirror/view": "6.43.15",
"@heroui/scroll-shadow": "^2.3.18",
"@heroui/system": "^2.4.23",
"@heroui/theme": "^2.4.23",
"@lezer/highlight": "^1.2.3",
"@octokit/rest": "^22.0.1",
"@opencode/client": "2.3.2",
"@opencode/schema": "2.3.2",
"@radix-ui/react-collapsible": "^1.1.12",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-scroll-area": "^1.2.10",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.7",
"@radix-ui/react-slot": "^1.2.3",
"@radix-ui/react-toggle": "^1.1.10",
"@radix-ui/react-tooltip": "^1.2.8",
"@xenova/transformers": "^2.17.2",
"@zumer/snapdom": "^2.12.8",
"bun-pty": "0.6.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"express": "^5.1.0",
"http-proxy-middleware": "^3.0.5",
"next-themes": "^0.4.6",
"node-pty": "1.2.0-beta.18",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-markdown": "^10.1.0",
"remark-gfm": "^4.0.1",
"simple-git": "^4.0.2",
"sonner": "^2.0.7",
"tailwind-merge": "^3.3.1",
"yaml": "^2.8.1",
"zod": "^4.6.7",
"zustand": "^5.0.8"
},
"overrides": {
"katex": "0.19.1",
"@codemirror/autocomplete": "6.20.4",
"@codemirror/commands": "6.11.1",
"@codemirror/lang-html": "6.4.12",
"@codemirror/lang-javascript": "6.2.5",
"@codemirror/lang-markdown": "6.5.2",
"@codemirror/lang-yaml": "6.1.3",
"@codemirror/language": "6.13.1",
"@codemirror/legacy-modes": "6.5.5",
"@codemirror/lint": "6.9.8",
"@codemirror/search": "6.7.2",
"@codemirror/state": "6.7.6",
"@codemirror/view": "6.43.15"
},
"devDependencies": {
"@clack/prompts": "^1.1.0",
"@oxlint/plugins": "1.94.0",
"@remixicon/react": "^4.7.0",
"@tailwindcss/postcss": "^4.0.0",
"@types/dom-speech-recognition": "^0.0.12",
"@types/node": "^24.3.1",
"@types/react": "^19.1.10",
"@types/react-dom": "^19.1.7",
"@vitejs/plugin-react": "^5.0.0",
"autoprefixer": "^10.4.21",
"babel-plugin-react-compiler": "^1.0.0",
"concurrently": "^10.0.0",
"cors": "^2.8.5",
"cross-env": "^10.0.0",
"node-addon-api": "8.9.2",
"nodemon": "^3.1.7",
"oxlint": "1.94.0",
"sharp": "^0.35.0",
"tailwindcss": "^4.0.0",
"tsx": "^4.20.6",
"tw-animate-css": "^1.3.8",
"typescript": "~7.0.2",
"vite": "^7.3.2"
},
"patchedDependencies": {
"@tanstack/virtual-core@3.19.11": "bun-patches/@tanstack+virtual-core+3.19.11.patch",
"@codemirror/view@6.43.15": "bun-patches/@codemirror%2Fview@6.43.15.patch",
"bun-pty@0.6.0": "bun-patches/bun-pty@0.6.0.patch",
"happy-dom@21.0.4": "bun-patches/happy-dom@21.0.4.patch",
"@legendapp/list@3.7.2": "bun-patches/@legendapp%2Flist@3.7.2.patch",
"zod@4.6.7": "bun-patches/zod@4.6.7.patch"
}
}