2025-11-24 11:23:15 +01:00
|
|
|
{
|
2026-01-04 14:32:47 +00:00
|
|
|
"name": "clawdbot",
|
2026-01-05 03:56:57 +01:00
|
|
|
"version": "2026.1.5-3",
|
2025-12-09 17:51:05 +00:00
|
|
|
"description": "WhatsApp gateway CLI (Baileys web) with Pi RPC agent",
|
2025-11-24 11:23:15 +01:00
|
|
|
"type": "module",
|
|
|
|
|
"main": "dist/index.js",
|
|
|
|
|
"bin": {
|
2026-01-05 01:25:37 +01:00
|
|
|
"clawdbot": "dist/entry.js"
|
2025-11-24 11:23:15 +01:00
|
|
|
},
|
2025-12-21 03:48:23 +01:00
|
|
|
"files": [
|
|
|
|
|
"dist/agents/**",
|
|
|
|
|
"dist/auto-reply/**",
|
|
|
|
|
"dist/browser/**",
|
|
|
|
|
"dist/canvas-host/**",
|
|
|
|
|
"dist/cli/**",
|
|
|
|
|
"dist/commands/**",
|
|
|
|
|
"dist/config/**",
|
2026-01-05 03:56:57 +01:00
|
|
|
"dist/control-ui/**",
|
2025-12-21 03:48:23 +01:00
|
|
|
"dist/cron/**",
|
2026-01-05 03:56:57 +01:00
|
|
|
"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/**",
|
2026-01-05 03:56:57 +01:00
|
|
|
"dist/imessage/**",
|
2025-12-21 03:48:23 +01:00
|
|
|
"dist/infra/**",
|
|
|
|
|
"dist/macos/**",
|
|
|
|
|
"dist/media/**",
|
|
|
|
|
"dist/process/**",
|
2026-01-05 03:28:25 +01:00
|
|
|
"dist/sessions/**",
|
2025-12-21 03:48:23 +01:00
|
|
|
"dist/providers/**",
|
2026-01-05 03:56:57 +01:00
|
|
|
"dist/signal/**",
|
|
|
|
|
"dist/slack/**",
|
2025-12-21 03:48:23 +01:00
|
|
|
"dist/telegram/**",
|
2026-01-05 03:56:57 +01:00
|
|
|
"dist/tui/**",
|
2025-12-21 03:48:23 +01:00
|
|
|
"dist/web/**",
|
2026-01-05 03:56:57 +01:00
|
|
|
"dist/wizard/**",
|
2025-12-21 03:48:23 +01:00
|
|
|
"dist/*.js",
|
|
|
|
|
"dist/*.json",
|
|
|
|
|
"docs/**",
|
|
|
|
|
"skills/**",
|
|
|
|
|
"README.md",
|
|
|
|
|
"README-header.png",
|
|
|
|
|
"CHANGELOG.md",
|
|
|
|
|
"LICENSE"
|
|
|
|
|
],
|
2025-11-24 11:23:15 +01:00
|
|
|
"scripts": {
|
2026-01-05 01:25:37 +01:00
|
|
|
"dev": "tsx src/entry.ts",
|
2025-12-09 17:51:05 +00:00
|
|
|
"docs:list": "tsx scripts/docs-list.ts",
|
2026-01-04 00:36:48 +01:00
|
|
|
"docs:dev": "cd docs && mint dev",
|
2026-01-04 18:04:23 +00:00
|
|
|
"docs:build": "cd docs && pnpm dlx mint broken-links",
|
2025-12-26 16:00:35 +01:00
|
|
|
"build": "tsc -p tsconfig.json && tsx scripts/canvas-a2ui-copy.ts",
|
2025-12-27 19:35:39 +01:00
|
|
|
"release:check": "tsx scripts/release-check.ts",
|
2025-12-18 22:40:46 +00:00
|
|
|
"ui:install": "pnpm -C ui install",
|
|
|
|
|
"ui:dev": "pnpm -C ui dev",
|
|
|
|
|
"ui:build": "pnpm -C ui build",
|
2026-01-05 01:25:37 +01:00
|
|
|
"start": "tsx src/entry.ts",
|
|
|
|
|
"clawdbot": "tsx src/entry.ts",
|
|
|
|
|
"gateway:watch": "tsx watch --clear-screen=false --include 'src/**/*.ts' src/entry.ts gateway --force",
|
|
|
|
|
"clawdbot:rpc": "tsx src/entry.ts agent --mode rpc --json",
|
2025-12-23 00:28:33 +00:00
|
|
|
"lint": "biome check src test && oxlint --type-aware src test --ignore-pattern src/canvas-host/a2ui/a2ui.bundle.js",
|
2025-12-13 19:23:41 +00:00
|
|
|
"lint:swift": "swiftlint lint --config .swiftlint.yml && (cd apps/ios && swiftlint lint --config .swiftlint.yml)",
|
2025-11-25 00:50:36 +01:00
|
|
|
"lint:fix": "biome check --write --unsafe src && biome format --write src",
|
2025-11-24 14:06:52 +01:00
|
|
|
"format": "biome format src",
|
2026-01-04 14:32:47 +00:00
|
|
|
"format:swift": "swiftformat --lint --config .swiftformat apps/macos/Sources apps/ios/Sources apps/shared/ClawdbotKit/Sources",
|
2025-11-24 14:06:52 +01:00
|
|
|
"format:fix": "biome format src --write",
|
2025-11-24 17:51:18 +01:00
|
|
|
"test": "vitest",
|
2025-12-10 01:00:29 +00:00
|
|
|
"test:force": "tsx scripts/test-force.ts",
|
2025-12-07 17:44:37 +01:00
|
|
|
"test:coverage": "vitest run --coverage",
|
2026-01-03 13:37:46 +01:00
|
|
|
"test:e2e": "vitest run --config vitest.e2e.config.ts",
|
2025-12-09 14:41:41 +01:00
|
|
|
"protocol:gen": "tsx scripts/protocol-gen.ts",
|
2025-12-09 15:21:16 +01:00
|
|
|
"protocol:gen:swift": "tsx scripts/protocol-gen-swift.ts",
|
2026-01-04 14:32:47 +00:00
|
|
|
"protocol:check": "pnpm protocol:gen && pnpm protocol:gen:swift && git diff --exit-code -- dist/protocol.schema.json apps/macos/Sources/ClawdbotProtocol/GatewayModels.swift",
|
2025-12-26 18:11:00 +01:00
|
|
|
"canvas:a2ui:bundle": "bash scripts/bundle-a2ui.sh"
|
2025-11-24 11:23:15 +01:00
|
|
|
},
|
|
|
|
|
"keywords": [],
|
|
|
|
|
"author": "",
|
|
|
|
|
"license": "MIT",
|
|
|
|
|
"engines": {
|
2025-12-25 23:02:31 +01:00
|
|
|
"node": ">=22.12.0"
|
2025-11-24 11:23:15 +01:00
|
|
|
},
|
|
|
|
|
"packageManager": "pnpm@10.23.0",
|
|
|
|
|
"dependencies": {
|
2026-01-01 17:57:57 +01:00
|
|
|
"@clack/prompts": "^0.11.0",
|
2026-01-02 23:47:28 +01:00
|
|
|
"@grammyjs/transformer-throttler": "^1.2.1",
|
2025-12-13 03:47:27 +00:00
|
|
|
"@homebridge/ciao": "^1.3.4",
|
2026-01-05 06:19:35 +01:00
|
|
|
"@mariozechner/pi-agent-core": "^0.36.0",
|
|
|
|
|
"@mariozechner/pi-ai": "^0.36.0",
|
|
|
|
|
"@mariozechner/pi-coding-agent": "^0.36.0",
|
|
|
|
|
"@mariozechner/pi-tui": "^0.36.0",
|
2026-01-02 23:47:28 +01:00
|
|
|
"@sinclair/typebox": "0.34.46",
|
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",
|
2025-11-25 00:29:44 +01:00
|
|
|
"body-parser": "^2.2.1",
|
2025-11-24 11:59:10 +01:00
|
|
|
"chalk": "^5.6.2",
|
2025-12-20 22:44:58 +00:00
|
|
|
"chokidar": "^5.0.0",
|
2025-12-20 19:16:41 +00:00
|
|
|
"chromium-bidi": "12.0.1",
|
2025-11-24 11:23:15 +01:00
|
|
|
"commander": "^14.0.2",
|
2025-12-13 02:34:11 +00:00
|
|
|
"croner": "^9.1.0",
|
2025-12-07 22:53:36 +01:00
|
|
|
"detect-libc": "^2.1.2",
|
2026-01-05 05:27:58 +01:00
|
|
|
"discord-api-types": "^0.38.37",
|
2025-12-15 10:11:18 -06:00
|
|
|
"discord.js": "^14.25.1",
|
2025-11-24 11:23:15 +01:00
|
|
|
"dotenv": "^17.2.3",
|
2025-12-07 18:49:55 +01:00
|
|
|
"express": "^5.2.1",
|
2026-01-05 05:27:58 +01:00
|
|
|
"file-type": "^21.3.0",
|
2026-01-02 23:47:28 +01:00
|
|
|
"grammy": "^1.39.2",
|
2025-11-24 11:23:15 +01:00
|
|
|
"json5": "^2.2.3",
|
2025-12-20 19:16:41 +00:00
|
|
|
"long": "5.3.2",
|
2025-12-19 18:38:37 +01:00
|
|
|
"playwright-core": "1.57.0",
|
2025-11-24 17:51:18 +01:00
|
|
|
"qrcode-terminal": "^0.12.0",
|
2025-12-07 18:49:55 +01:00
|
|
|
"sharp": "^0.34.5",
|
2025-12-07 22:53:36 +01:00
|
|
|
"tslog": "^4.10.2",
|
2026-01-05 22:52:13 +00:00
|
|
|
"undici": "^7.18.0",
|
|
|
|
|
"ws": "^8.19.0",
|
2026-01-05 05:27:58 +01:00
|
|
|
"zod": "^4.3.5"
|
2025-11-24 11:23:15 +01:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-01-05 05:27:58 +01:00
|
|
|
"@biomejs/biome": "^2.3.11",
|
2025-12-30 14:30:46 +01:00
|
|
|
"@lit-labs/signals": "^0.2.0",
|
2025-12-17 11:29:04 +01:00
|
|
|
"@lit/context": "^1.1.6",
|
2025-12-07 17:44:37 +01:00
|
|
|
"@mariozechner/mini-lit": "0.2.1",
|
2025-11-24 11:23:15 +01:00
|
|
|
"@types/body-parser": "^1.19.6",
|
2025-12-07 18:49:55 +01:00
|
|
|
"@types/express": "^5.0.6",
|
2025-12-17 11:29:04 +01:00
|
|
|
"@types/markdown-it": "^14.1.2",
|
2025-12-20 22:44:58 +00:00
|
|
|
"@types/node": "^25.0.3",
|
2025-11-24 17:51:18 +01:00
|
|
|
"@types/qrcode-terminal": "^0.12.2",
|
2025-12-09 17:43:15 +01:00
|
|
|
"@types/ws": "^8.18.1",
|
2025-12-20 22:44:58 +00:00
|
|
|
"@vitest/coverage-v8": "^4.0.16",
|
2025-12-07 17:20:42 +00:00
|
|
|
"docx-preview": "^0.3.7",
|
|
|
|
|
"jszip": "^3.10.1",
|
2025-12-30 14:30:46 +01:00
|
|
|
"lit": "^3.3.2",
|
2025-12-20 22:44:58 +00:00
|
|
|
"lucide": "^0.562.0",
|
2025-12-17 11:29:04 +01:00
|
|
|
"markdown-it": "^14.1.0",
|
2025-12-07 17:20:42 +00:00
|
|
|
"ollama": "^0.6.3",
|
2026-01-05 22:52:13 +00:00
|
|
|
"oxlint": "^1.37.0",
|
2026-01-02 23:47:28 +01:00
|
|
|
"oxlint-tsgolint": "^0.10.1",
|
2025-12-09 17:43:15 +01:00
|
|
|
"quicktype-core": "^23.2.6",
|
2026-01-02 23:47:28 +01:00
|
|
|
"rolldown": "1.0.0-beta.58",
|
2025-12-17 11:29:04 +01:00
|
|
|
"signal-utils": "^0.21.1",
|
2025-12-07 18:49:55 +01:00
|
|
|
"tsx": "^4.21.0",
|
2025-11-24 17:23:59 +01:00
|
|
|
"typescript": "^5.9.3",
|
2025-12-20 22:44:58 +00:00
|
|
|
"vitest": "^4.0.16",
|
2025-12-17 13:20:36 +01:00
|
|
|
"wireit": "^0.14.12"
|
2025-11-24 17:33:59 +01:00
|
|
|
},
|
2026-01-01 17:30:19 +01:00
|
|
|
"pnpm": {
|
|
|
|
|
"overrides": {
|
2026-01-02 23:47:28 +01:00
|
|
|
"@sinclair/typebox": "0.34.46"
|
2026-01-01 18:30:16 +01:00
|
|
|
},
|
|
|
|
|
"patchedDependencies": {
|
2026-01-04 17:14:19 +05:30
|
|
|
"@mariozechner/pi-ai": "patches/@mariozechner__pi-ai.patch"
|
2026-01-01 17:30:19 +01:00
|
|
|
}
|
|
|
|
|
},
|
2025-11-24 17:33:59 +01:00
|
|
|
"vitest": {
|
2025-11-24 17:51:18 +01:00
|
|
|
"coverage": {
|
|
|
|
|
"provider": "v8",
|
|
|
|
|
"reporter": [
|
|
|
|
|
"text",
|
|
|
|
|
"lcov"
|
|
|
|
|
],
|
|
|
|
|
"thresholds": {
|
|
|
|
|
"lines": 70,
|
|
|
|
|
"functions": 70,
|
|
|
|
|
"branches": 70,
|
|
|
|
|
"statements": 70
|
|
|
|
|
},
|
|
|
|
|
"include": [
|
2025-11-25 00:12:12 +01:00
|
|
|
"src/**/*.ts"
|
2025-11-24 17:51:18 +01:00
|
|
|
],
|
|
|
|
|
"exclude": [
|
|
|
|
|
"src/**/*.test.ts"
|
|
|
|
|
]
|
|
|
|
|
},
|
2025-12-07 22:46:02 +01:00
|
|
|
"include": [
|
|
|
|
|
"src/**/*.test.ts"
|
|
|
|
|
],
|
2025-11-24 17:33:59 +01:00
|
|
|
"exclude": [
|
2025-12-07 19:01:01 +01:00
|
|
|
"dist/**",
|
|
|
|
|
"apps/macos/**",
|
2025-12-07 22:46:02 +01:00
|
|
|
"apps/macos/.build/**",
|
|
|
|
|
"**/vendor/**",
|
|
|
|
|
"apps/macos/.build/**",
|
2026-01-04 14:32:47 +00:00
|
|
|
"dist/Clawdbot.app/**"
|
2025-11-24 17:33:59 +01:00
|
|
|
]
|
2025-11-24 11:23:15 +01:00
|
|
|
}
|
|
|
|
|
}
|