Files
LobsterAI/package.json
T
Dylan 04b8652fec refactor(openclaw): migrate runtime hotfixes to version-specific source-level git patches
Replace the code-level string-replacement hotfix system (openclawRuntimeHotfix.ts)
with git patch files applied to OpenClaw TypeScript sources before compilation.
Patches are now organized under scripts/patches/<version>/ directories, tied to
the openclaw version declared in package.json.

- Move 8 patch files into scripts/patches/v2026.3.2/
- Update apply-openclaw-patches.cjs to resolve version from package.json
- Update build-openclaw-runtime.sh patch hash to use versioned directory
- Remove openclaw:hotfix build step from all 6 platform build chains
- Delete openclawRuntimeHotfix.ts, apply-openclaw-runtime-hotfixes.cjs, and tests
- Remove applyRuntimeHotfixes() from openclawEngineManager.ts

Signed-off-by: Dylan <[email protected]>
2026-03-24 11:18:25 +08:00

186 lines
9.1 KiB
JSON

{
"name": "lobsterai",
"private": true,
"author": {
"name": "LobsterAI",
"email": "[email protected]"
},
"license": "MIT",
"version": "2026.3.22",
"openclaw": {
"version": "v2026.3.2",
"repo": "https://github.com/openclaw/openclaw.git",
"plugins": [
{
"id": "dingtalk-connector",
"npm": "@dingtalk-real-ai/dingtalk-connector",
"version": "0.7.9"
},
{
"id": "feishu-openclaw-plugin",
"npm": "@larksuiteoapi/feishu-openclaw-plugin",
"version": "2026.3.8"
},
{
"id": "qqbot",
"npm": "@sliverp/qqbot",
"version": "1.5.3"
},
{
"id": "wecom-openclaw-plugin",
"npm": "@wecom/wecom-openclaw-plugin",
"version": "1.0.12"
},
{
"id": "openclaw-weixin",
"npm": "@tencent-weixin/openclaw-weixin",
"version": "1.0.2"
},
{
"id": "moltbot-popo",
"npm": "moltbot-popo",
"version": "1.0.65-beta.21",
"registry": "https://npm.nie.netease.com",
"optional": true
},
{
"id": "nim",
"npm": "openclaw-nim",
"version": "0.3.0"
}
]
},
"main": "dist-electron/main.js",
"engines": {
"node": ">=24 <25"
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"test": "vitest run",
"preview": "vite preview",
"compile:electron": "tsc --project electron-tsconfig.json",
"build:skill:web-search": "npm install --prefix SKILLs/web-search && npx tsc -p SKILLs/web-search/tsconfig.json",
"build:skill:tech-news": "node scripts/build-skill-tech-news.js",
"build:skill:email": "cd SKILLs/imap-smtp-email && npm install --production",
"build:skills": "npm run build:skill:web-search && npm run build:skill:tech-news && npm run build:skill:email",
"start:electron": "cross-env NODE_ENV=development ELECTRON_START_URL=http://localhost:5175 electron .",
"electron:dev": "rimraf dist-electron && npm run compile:electron && concurrently \"vite --port 5175\" \"wait-on -v -t 120000 -d 20000 http://localhost:5175 dist-electron/.electron-ready && npm run start:electron\"",
"electron:dev:openclaw": "npm run openclaw:runtime:host && npm run electron:dev",
"postinstall": "patch-package && electron-builder install-app-deps",
"pack": "npm run setup:python-runtime && npm run build && npm run compile:electron && npm run build:skills && electron-builder --dir",
"dist": "npm run setup:python-runtime && npm run build && npm run compile:electron && npm run build:skills && electron-builder",
"dist:mac": "node -r dotenv/config node_modules/.bin/electron-builder --mac --config electron-builder.json",
"predist:mac": "npm run build && npm run compile:electron && npm run build:skills && npm run openclaw:runtime:mac-arm64",
"dist:mac:x64": "npm run build && npm run compile:electron && npm run build:skills && npm run openclaw:runtime:mac-x64 && electron-builder --mac --x64",
"dist:mac:arm64": "npm run build && npm run compile:electron && npm run build:skills && npm run openclaw:runtime:mac-arm64 && electron-builder --mac --arm64",
"dist:mac:universal": "npm run build && npm run compile:electron && npm run build:skills && electron-builder --mac --universal",
"predist:win": "npm run openclaw:runtime:win-x64",
"dist:win": "npm run setup:python-runtime && npm run build && npm run compile:electron && npm run build:skills && electron-builder --win --x64",
"predist:linux": "npm run openclaw:runtime:linux-x64",
"dist:linux": "npm run build && npm run compile:electron && npm run build:skills && electron-builder --linux",
"clean:release": "rimraf release",
"generate:tray-icons": "node scripts/generate-tray-icons.js",
"setup:mingit": "node scripts/setup-mingit.js",
"setup:python-runtime": "node scripts/setup-python-runtime.js",
"openclaw:ensure": "node scripts/ensure-openclaw-version.cjs",
"openclaw:patch": "node scripts/apply-openclaw-patches.cjs",
"openclaw:plugins": "node scripts/ensure-openclaw-plugins.cjs",
"openclaw:extensions:local": "node scripts/sync-local-openclaw-extensions.cjs",
"openclaw:bundle": "node scripts/bundle-openclaw-gateway.cjs",
"openclaw:precompile": "node scripts/precompile-openclaw-extensions.cjs",
"openclaw:prune": "node scripts/prune-openclaw-runtime.cjs",
"openclaw:runtime:host": "node scripts/openclaw-runtime-host.cjs",
"openclaw:runtime:mac-arm64": "npm run openclaw:ensure && npm run openclaw:patch && node scripts/run-build-openclaw-runtime.cjs mac-arm64 && node scripts/sync-openclaw-runtime-current.cjs mac-arm64 && npm run openclaw:bundle && npm run openclaw:plugins && npm run openclaw:extensions:local && npm run openclaw:precompile && npm run openclaw:prune",
"openclaw:runtime:mac-x64": "npm run openclaw:ensure && npm run openclaw:patch && node scripts/run-build-openclaw-runtime.cjs mac-x64 && node scripts/sync-openclaw-runtime-current.cjs mac-x64 && npm run openclaw:bundle && npm run openclaw:plugins && npm run openclaw:extensions:local && npm run openclaw:precompile && npm run openclaw:prune",
"openclaw:runtime:win-x64": "npm run openclaw:ensure && npm run openclaw:patch && node scripts/run-build-openclaw-runtime.cjs win-x64 && node scripts/sync-openclaw-runtime-current.cjs win-x64 && npm run openclaw:bundle && npm run openclaw:plugins && npm run openclaw:extensions:local && npm run openclaw:precompile && npm run openclaw:prune",
"openclaw:runtime:win-arm64": "npm run openclaw:ensure && npm run openclaw:patch && node scripts/run-build-openclaw-runtime.cjs win-arm64 && node scripts/sync-openclaw-runtime-current.cjs win-arm64 && npm run openclaw:bundle && npm run openclaw:plugins && npm run openclaw:extensions:local && npm run openclaw:precompile && npm run openclaw:prune",
"openclaw:runtime:linux-x64": "npm run openclaw:ensure && npm run openclaw:patch && node scripts/run-build-openclaw-runtime.cjs linux-x64 && node scripts/sync-openclaw-runtime-current.cjs linux-x64 && npm run openclaw:bundle && npm run openclaw:plugins && npm run openclaw:extensions:local && npm run openclaw:precompile && npm run openclaw:prune",
"openclaw:runtime:linux-arm64": "npm run openclaw:ensure && npm run openclaw:patch && node scripts/run-build-openclaw-runtime.cjs linux-arm64 && node scripts/sync-openclaw-runtime-current.cjs linux-arm64 && npm run openclaw:bundle && npm run openclaw:plugins && npm run openclaw:extensions:local && npm run openclaw:precompile && npm run openclaw:prune",
"regenerate:icon": "bash scripts/regenerate-mac-icon.sh",
"fix:mac-icon": "bash scripts/fix-mac-icon-display.sh"
},
"dependencies": {
"@anthropic-ai/claude-agent-sdk": "0.2.12",
"@electron/remote": "^2.0.12",
"@headlessui/react": "^1.7.18",
"@heroicons/react": "^2.1.1",
"@larksuite/openclaw-lark": "^2026.3.17",
"@larksuite/openclaw-lark-tools": "~1.0.26",
"@larksuiteoapi/node-sdk": "^1.58.0",
"qrcode.react": "^4.2.0",
"@modelcontextprotocol/sdk": "^1.27.1",
"@nodesecure/js-x-ray": "^14.2.0",
"@reduxjs/toolkit": "^2.2.1",
"@types/uuid": "^10.0.0",
"@wecom/wecom-aibot-sdk": "^0.1.0",
"bufferutil": "^4.1.0",
"cron-parser": "^5.5.0",
"dompurify": "^3.3.1",
"electron-log": "^5.4.3",
"extract-zip": "^2.0.1",
"form-data": "^4.0.5",
"js-yaml": "^4.1.1",
"katex": "^0.16.21",
"mermaid": "^10.9.5",
"nim-web-sdk-ng": "10.9.77-alpha.4",
"npm": "^11.11.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "^10.0.0",
"react-redux": "^9.1.0",
"react-syntax-highlighter": "^15.6.1",
"rehype-katex": "^7.0.1",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
"sql.js": "^1.13.0",
"tar": "^7.5.11",
"utf-8-validate": "^6.0.6",
"uuid": "^11.1.0",
"yazl": "^3.3.1",
"zod": "^4.3.6"
},
"overrides": {
"@electron/osx-sign": {
"isbinaryfile": "^5.0.0"
}
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.16",
"@types/dompurify": "^3.0.5",
"@types/extract-zip": "^2.0.1",
"@types/js-yaml": "^4.0.9",
"@types/node": "^24.0.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/sql.js": "^1.4.9",
"@types/yazl": "^3.3.0",
"@typescript-eslint/eslint-plugin": "^8.56.0",
"@typescript-eslint/parser": "^8.56.0",
"@vitejs/plugin-react": "^4.2.1",
"7zip-bin": "^5.2.0",
"autoprefixer": "^10.4.17",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"electron": "40.2.1",
"electron-builder": "^24.12.0",
"esbuild": "^0.21.5",
"eslint": "^8.56.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"patch-package": "^8.0.1",
"postcss": "^8.4.35",
"rimraf": "^5.0.5",
"rss-parser": "^3.13.0",
"tailwindcss": "^3.4.1",
"typescript": "^5.7.3",
"vite": "^5.1.4",
"vite-plugin-electron": "^0.28.0",
"vite-plugin-electron-renderer": "^0.14.5",
"vitest": "^4.1.0",
"wait-on": "^7.2.0"
}
}