Files
openclaw/package.json

277 lines
10 KiB
JSON
Raw Normal View History

{
2026-01-30 03:15:10 +01:00
"name": "openclaw",
2026-01-30 06:14:12 +01:00
"version": "2026.1.29",
"description": "WhatsApp gateway CLI (Baileys web) with Pi RPC agent",
"type": "module",
"main": "dist/index.js",
"exports": {
".": "./dist/index.js",
"./plugin-sdk": "./dist/plugin-sdk/index.js",
2026-01-27 09:10:21 +00:00
"./plugin-sdk/*": "./dist/plugin-sdk/*",
2026-01-30 03:15:10 +01:00
"./cli-entry": "./openclaw.mjs"
},
"bin": {
2026-01-30 03:15:10 +01:00
"openclaw": "./openclaw.mjs"
},
2025-12-21 03:48:23 +01:00
"files": [
2026-01-21 08:30:23 +00:00
"dist/acp/**",
2025-12-21 03:48:23 +01:00
"dist/agents/**",
"dist/auto-reply/**",
"dist/browser/**",
"dist/canvas-host/**",
"dist/cli/**",
"dist/commands/**",
"dist/config/**",
"dist/compat/**",
"dist/control-ui/**",
2025-12-21 03:48:23 +01:00
"dist/cron/**",
2026-01-13 09:33:02 +00:00
"dist/channels/**",
"dist/daemon/**",
2025-12-27 19:35:39 +01:00
"dist/discord/**",
2025-12-21 03:48:23 +01:00
"dist/gateway/**",
2025-12-27 19:35:39 +01:00
"dist/hooks/**",
"dist/imessage/**",
2025-12-21 03:48:23 +01:00
"dist/infra/**",
"dist/macos/**",
"dist/media/**",
"dist/media-understanding/**",
2026-01-25 14:16:15 +00:00
"dist/link-understanding/**",
2025-12-21 03:48:23 +01:00
"dist/process/**",
2026-01-12 10:14:24 +00:00
"dist/plugins/**",
"dist/plugin-sdk/**",
2026-01-15 07:54:03 +00:00
"dist/security/**",
"dist/sessions/**",
2025-12-21 03:48:23 +01:00
"dist/providers/**",
"dist/signal/**",
"dist/slack/**",
2025-12-21 03:48:23 +01:00
"dist/telegram/**",
"dist/line/**",
"dist/tui/**",
2026-01-24 13:18:03 +00:00
"dist/tts/**",
2025-12-21 03:48:23 +01:00
"dist/web/**",
"dist/wizard/**",
2025-12-21 03:48:23 +01:00
"dist/*.js",
"dist/*.json",
"docs/**",
"extensions/**",
"assets/**",
2026-01-30 03:15:10 +01:00
"openclaw.mjs",
2025-12-21 03:48:23 +01:00
"skills/**",
2026-01-21 07:36:32 +00:00
"patches/**",
2025-12-21 03:48:23 +01:00
"README.md",
"README-header.png",
"CHANGELOG.md",
"LICENSE",
"scripts/postinstall.js",
"scripts/format-staged.js",
"scripts/setup-git-hooks.js",
"git-hooks/**",
"dist/terminal/**",
"dist/routing/**",
2026-01-25 14:08:20 +00:00
"dist/shared/**",
"dist/utils/**",
"dist/logging/**",
2026-01-13 09:36:15 +00:00
"dist/memory/**",
"dist/markdown/**",
2026-01-21 08:30:23 +00:00
"dist/node-host/**",
"dist/pairing/**",
"dist/whatsapp/**"
2025-12-21 03:48:23 +01:00
],
"scripts": {
"dev": "node scripts/run-node.mjs",
2026-01-06 03:30:33 +01:00
"postinstall": "node scripts/postinstall.js",
2026-01-22 11:08:58 +00:00
"prepack": "pnpm build && pnpm ui:build",
2026-01-18 18:46:18 +00:00
"docs:list": "node scripts/docs-list.js",
"docs:bin": "node scripts/build-docs-list.mjs",
2026-01-04 00:36:48 +01:00
"docs:dev": "cd docs && mint dev",
2026-01-10 16:04:03 +00:00
"docs:build": "cd docs && pnpm dlx --reporter append-only mint broken-links",
"build": "pnpm canvas:a2ui:bundle && tsc -p tsconfig.json --noEmit false && node --import tsx scripts/canvas-a2ui-copy.ts && node --import tsx scripts/copy-hook-metadata.ts && node --import tsx scripts/write-build-info.ts",
2026-01-18 18:46:18 +00:00
"plugins:sync": "node --import tsx scripts/sync-plugin-versions.ts",
"release:check": "node --import tsx scripts/release-check.ts",
"ui:install": "node scripts/ui.js install",
"ui:dev": "node scripts/ui.js dev",
"ui:build": "node scripts/ui.js build",
"start": "node scripts/run-node.mjs",
2026-01-30 03:15:10 +01:00
"openclaw": "node scripts/run-node.mjs",
"gateway:watch": "node scripts/watch-node.mjs gateway --force",
2026-01-30 03:15:10 +01:00
"gateway:dev": "OPENCLAW_SKIP_CHANNELS=1 CLAWDBOT_SKIP_CHANNELS=1 node scripts/run-node.mjs --dev gateway",
"gateway:dev:reset": "OPENCLAW_SKIP_CHANNELS=1 CLAWDBOT_SKIP_CHANNELS=1 node scripts/run-node.mjs --dev gateway --reset",
"tui": "node scripts/run-node.mjs tui",
2026-01-31 00:51:12 +01:00
"tui:dev": "OPENCLAW_PROFILE=dev CLAWDBOT_PROFILE=dev node scripts/run-node.mjs --dev tui",
2026-01-30 03:15:10 +01:00
"openclaw:rpc": "node scripts/run-node.mjs agent --mode rpc --json",
"moltbot:rpc": "node scripts/run-node.mjs agent --mode rpc --json",
2026-01-09 19:38:48 +00:00
"ios:gen": "cd apps/ios && xcodegen generate",
2026-01-30 03:15:10 +01:00
"ios:open": "cd apps/ios && xcodegen generate && open OpenClaw.xcodeproj",
"ios:build": "bash -lc 'cd apps/ios && xcodegen generate && xcodebuild -project OpenClaw.xcodeproj -scheme OpenClaw -destination \"${IOS_DEST:-platform=iOS Simulator,name=iPhone 17}\" -configuration Debug build'",
"ios:run": "bash -lc 'cd apps/ios && xcodegen generate && xcodebuild -project OpenClaw.xcodeproj -scheme OpenClaw -destination \"${IOS_DEST:-platform=iOS Simulator,name=iPhone 17}\" -configuration Debug build && xcrun simctl boot \"${IOS_SIM:-iPhone 17}\" || true && xcrun simctl launch booted ai.openclaw.ios'",
2026-01-09 19:38:48 +00:00
"android:assemble": "cd apps/android && ./gradlew :app:assembleDebug",
"android:install": "cd apps/android && ./gradlew :app:installDebug",
2026-01-30 03:15:10 +01:00
"android:run": "cd apps/android && ./gradlew :app:installDebug && adb shell am start -n ai.openclaw.android/.MainActivity",
2026-01-09 19:38:48 +00:00
"android:test": "cd apps/android && ./gradlew :app:testDebugUnitTest",
"mac:restart": "bash scripts/restart-mac.sh",
"mac:package": "bash scripts/package-mac-app.sh",
2026-01-30 03:15:10 +01:00
"mac:open": "open dist/OpenClaw.app",
"lint": "oxlint --type-aware src test",
2025-12-13 19:23:41 +00:00
"lint:swift": "swiftlint lint --config .swiftlint.yml && (cd apps/ios && swiftlint lint --config .swiftlint.yml)",
2026-01-09 19:38:48 +00:00
"lint:all": "pnpm lint && pnpm lint:swift",
"lint:fix": "pnpm format:fix && oxlint --type-aware --fix src test",
"format": "oxfmt --check src test",
2026-01-30 03:15:10 +01:00
"format:swift": "swiftformat --lint --config .swiftformat apps/macos/Sources apps/ios/Sources apps/shared/OpenClawKit/Sources",
2026-01-09 19:38:48 +00:00
"format:all": "pnpm format && pnpm format:swift",
"format:fix": "oxfmt --write src test",
"test": "node scripts/test-parallel.mjs",
2026-01-09 16:48:20 +01:00
"test:watch": "vitest",
2026-01-08 03:50:01 +01:00
"test:ui": "pnpm --dir ui test",
2026-01-18 18:46:18 +00:00
"test:force": "node --import tsx scripts/test-force.ts",
2025-12-07 17:44:37 +01:00
"test:coverage": "vitest run --coverage",
"test:e2e": "vitest run --config vitest.e2e.config.ts",
2026-01-30 03:15:10 +01:00
"test:live": "OPENCLAW_LIVE_TEST=1 CLAWDBOT_LIVE_TEST=1 vitest run --config vitest.live.config.ts",
"test:docker:onboard": "bash scripts/e2e/onboard-docker.sh",
"test:docker:gateway-network": "bash scripts/e2e/gateway-network-docker.sh",
"test:docker:live-models": "bash scripts/test-live-models-docker.sh",
"test:docker:live-gateway": "bash scripts/test-live-gateway-models-docker.sh",
"test:docker:qr": "bash scripts/e2e/qr-import-docker.sh",
2026-01-09 17:50:19 +01:00
"test:docker:doctor-switch": "bash scripts/e2e/doctor-install-switch-docker.sh",
2026-01-11 12:21:45 +00:00
"test:docker:plugins": "bash scripts/e2e/plugins-docker.sh",
2026-01-11 10:23:52 +00:00
"test:docker:cleanup": "bash scripts/test-cleanup-docker.sh",
2026-01-11 12:21:45 +00:00
"test:docker:all": "pnpm test:docker:live-models && pnpm test:docker:live-gateway && pnpm test:docker:onboard && pnpm test:docker:gateway-network && pnpm test:docker:qr && pnpm test:docker:doctor-switch && pnpm test:docker:plugins && pnpm test:docker:cleanup",
2026-01-11 11:21:59 +00:00
"test:all": "pnpm lint && pnpm build && pnpm test && pnpm test:e2e && pnpm test:live && pnpm test:docker:all",
2026-01-11 10:20:50 +00:00
"test:install:e2e": "bash scripts/test-install-sh-e2e-docker.sh",
2026-01-12 00:17:02 +00:00
"test:install:smoke": "bash scripts/test-install-sh-docker.sh",
2026-01-30 03:15:10 +01:00
"test:install:e2e:openai": "OPENCLAW_E2E_MODELS=openai CLAWDBOT_E2E_MODELS=openai bash scripts/test-install-sh-e2e-docker.sh",
"test:install:e2e:anthropic": "OPENCLAW_E2E_MODELS=anthropic CLAWDBOT_E2E_MODELS=anthropic bash scripts/test-install-sh-e2e-docker.sh",
2026-01-18 18:46:18 +00:00
"protocol:gen": "node --import tsx scripts/protocol-gen.ts",
"protocol:gen:swift": "node --import tsx scripts/protocol-gen-swift.ts",
2026-01-30 03:15:10 +01:00
"protocol:check": "pnpm protocol:gen && pnpm protocol:gen:swift && git diff --exit-code -- dist/protocol.schema.json apps/macos/Sources/OpenClawProtocol/GatewayModels.swift",
2026-01-14 01:08:15 +00:00
"canvas:a2ui:bundle": "bash scripts/bundle-a2ui.sh",
2026-01-18 18:46:18 +00:00
"check:loc": "node --import tsx scripts/check-ts-max-loc.ts --max 500"
},
"keywords": [],
"author": "",
"license": "MIT",
"engines": {
"node": ">=22.12.0"
},
"packageManager": "pnpm@10.23.0",
"dependencies": {
2026-01-24 10:30:21 +00:00
"@agentclientprotocol/sdk": "0.13.1",
"@aws-sdk/client-bedrock": "^3.980.0",
2026-01-21 11:36:56 -06:00
"@buape/carbon": "0.14.0",
"@clack/prompts": "^1.0.0",
"@grammyjs/runner": "^2.0.3",
"@grammyjs/transformer-throttler": "^1.2.1",
"@homebridge/ciao": "^1.3.4",
"@line/bot-sdk": "^10.6.0",
2026-01-17 04:57:04 +00:00
"@lydell/node-pty": "1.2.0-beta.3",
"@mariozechner/pi-agent-core": "0.50.7",
"@mariozechner/pi-ai": "0.50.7",
"@mariozechner/pi-coding-agent": "0.50.7",
"@mariozechner/pi-tui": "0.50.7",
"@mozilla/readability": "^0.6.0",
2026-01-31 16:25:44 +09:00
"@sinclair/typebox": "0.34.48",
2026-01-05 05:27:58 +01:00
"@slack/bolt": "^4.6.0",
"@slack/web-api": "^7.13.0",
2025-12-07 17:44:37 +01:00
"@whiskeysockets/baileys": "7.0.0-rc.9",
2025-12-09 14:41:41 +01:00
"ajv": "^8.17.1",
"chalk": "^5.6.2",
2025-12-20 22:44:58 +00:00
"chokidar": "^5.0.0",
"cli-highlight": "^2.1.11",
"commander": "^14.0.3",
"croner": "^9.1.0",
"discord-api-types": "^0.38.38",
"dotenv": "^17.2.3",
"express": "^5.2.1",
2026-01-05 05:27:58 +01:00
"file-type": "^21.3.0",
2026-01-18 14:15:32 +00:00
"grammy": "^1.39.3",
2026-01-11 12:11:12 +00:00
"jiti": "^2.6.1",
"json5": "^2.2.3",
"jszip": "^3.10.1",
"linkedom": "^0.18.12",
"long": "^5.3.2",
"markdown-it": "^14.1.0",
2026-01-25 01:05:23 +00:00
"node-edge-tts": "^1.2.9",
2026-01-20 12:58:49 +00:00
"osc-progress": "^0.3.0",
"pdfjs-dist": "^5.4.530",
"playwright-core": "1.58.1",
"proper-lockfile": "^4.1.2",
"qrcode-terminal": "^0.12.0",
"sharp": "^0.34.5",
"signal-utils": "^0.21.1",
"sqlite-vec": "0.1.7-alpha.2",
2026-01-31 16:25:44 +09:00
"tar": "7.5.7",
2025-12-07 22:53:36 +01:00
"tslog": "^4.10.2",
"undici": "^7.19.2",
"ws": "^8.19.0",
2026-01-17 19:48:26 +00:00
"yaml": "^2.8.2",
2026-01-24 10:30:21 +00:00
"zod": "^4.3.6"
},
"peerDependencies": {
"@napi-rs/canvas": "^0.1.89",
"node-llama-cpp": "3.15.1"
2026-01-15 18:37:02 +00:00
},
"devDependencies": {
"@grammyjs/types": "^3.23.0",
"@lit-labs/signals": "^0.2.0",
2025-12-17 11:29:04 +01:00
"@lit/context": "^1.1.6",
"@types/express": "^5.0.6",
2025-12-17 11:29:04 +01:00
"@types/markdown-it": "^14.1.2",
"@types/node": "^25.1.0",
"@types/proper-lockfile": "^4.1.4",
"@types/qrcode-terminal": "^0.12.2",
2025-12-09 17:43:15 +01:00
"@types/ws": "^8.18.1",
"@typescript/native-preview": "7.0.0-dev.20260130.1",
2026-01-24 10:30:21 +00:00
"@vitest/coverage-v8": "^4.0.18",
"lit": "^3.3.2",
"ollama": "^0.6.3",
"oxfmt": "0.27.0",
"oxlint": "^1.42.0",
"oxlint-tsgolint": "^0.11.4",
"rolldown": "1.0.0-rc.2",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
2026-01-31 17:11:05 +09:00
"vitest": "^4.0.18"
2025-11-24 17:33:59 +01:00
},
2026-01-26 22:58:05 +00:00
"overrides": {
"tar": "7.5.4"
},
"pnpm": {
2026-01-11 13:13:20 +02:00
"minimumReleaseAge": 2880,
"overrides": {
2026-01-15 03:39:45 +00:00
"@sinclair/typebox": "0.34.47",
"tar": "7.5.4"
}
},
2025-11-24 17:33:59 +01:00
"vitest": {
"coverage": {
"provider": "v8",
"reporter": [
"text",
"lcov"
],
"thresholds": {
"lines": 70,
"functions": 70,
"branches": 70,
"statements": 70
},
"include": [
"src/**/*.ts"
],
"exclude": [
"src/**/*.test.ts"
]
},
"include": [
"src/**/*.test.ts"
],
2025-11-24 17:33:59 +01:00
"exclude": [
"dist/**",
"apps/macos/**",
"apps/macos/.build/**",
"**/vendor/**",
"apps/macos/.build/**",
2026-01-30 03:15:10 +01:00
"dist/OpenClaw.app/**"
2025-11-24 17:33:59 +01:00
]
}
2026-01-25 14:16:15 +00:00
}