Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 6.04 KB
/
Copy pathpackage.json
File metadata and controls
130 lines (130 loc) · 6.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "botmux",
"version": "0.0.0",
"description": "Bridge between IM platforms and AI coding CLIs \u2014 one topic, one CLI session with live streaming",
"type": "module",
"bin": {
"botmux": "scripts/botmux-launcher.sh"
},
"files": [
"scripts/botmux-launcher.sh",
"scripts/postinstall-bin.mjs",
"scripts/install-path-entry.mjs",
"README.md",
"README.en.md",
"LICENSE"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"scripts": {
"build": "bun run audit:domains && node scripts/generate-app-icon-data.mjs && node scripts/generate-pi-initial-prompt-extension.mjs && node scripts/generate-pi-turn-boundary-extension.mjs && node scripts/clean-dist.mjs && tsc && bun run typecheck:scripts && bun run typecheck:test-mocks && node scripts/generate-runtime-build-id.mjs && cp src/setup/lark-scopes.json dist/setup/ && bun run dashboard:bundle && chmod +x dist/cli.js && node scripts/audit-dist.mjs && node scripts/audit-embedded-assets.mjs --require-dist",
"verify:binary": "bun scripts/verify-binary.mjs",
"typecheck:scripts": "tsc -p tsconfig.scripts.json",
"typecheck:test-mocks": "tsc -p tsconfig.test-mocks.json",
"workflow-core:build": "node scripts/build-workflow-core-package.mjs",
"workflow-core:test": "bun run workflow-core:build && node scripts/test-workflow-core-package.mjs",
"workflow-core:pack": "bun run workflow-core:build && node scripts/pack-workflow-core-package.mjs",
"build:bun": "bun scripts/build-bun-binary.mjs",
"audit:domains": "node scripts/audit-public-domains.mjs",
"dashboard:bundle": "node scripts/build-dashboard.mjs",
"dashboard:watch": "node scripts/build-dashboard.mjs --watch",
"daemon": "tsx src/index-daemon.ts",
"daemon:bun": "bun src/index-daemon.ts",
"supervisor:bun": "bun src/index-supervisor.ts",
"dashboard:bun": "bun src/index-dashboard.ts",
"daemon:start": "bun dist/cli.js start",
"daemon:stop": "bun dist/cli.js stop",
"daemon:restart": "bun dist/cli.js restart",
"daemon:logs": "bun dist/cli.js logs",
"daemon:status": "bun dist/cli.js status",
"use:here": "bun scripts/claim-botmux-bin.mjs",
"creds:sync": "bun dist/cli.js suspend --isolated",
"switch:here": "bun run build && bun run use:here",
"test": "vitest run --project unit",
"test:all": "vitest run",
"test:e2e": "vitest run --project e2e",
"test:midscene": "midscene-test test/midscene --result-dir midscene_run/dashboard/results",
"test:midscene:feishu": "bun run test:e2e-browser",
"test:midscene:nodes": "midscene-test nodes test/midscene && midscene-test nodes test/e2e-browser",
"test:midscene:typecheck": "tsc -p test/midscene/tsconfig.json --noEmit && tsc -p test/e2e-browser/tsconfig.json --noEmit",
"test:bun": "node scripts/run-bun-tests.mjs",
"test:bun:self-check": "node scripts/run-bun-tests.mjs --self-check",
"test:bench": "tsx scripts/bench-tests.ts",
"test:codex": "vitest run --project e2e test/codex-input.e2e.ts",
"test:gemini": "vitest run --project e2e test/gemini-input.e2e.ts",
"test:agy": "vitest run --project e2e test/agy-input.e2e.ts",
"bench:resource": "node --expose-gc --import tsx scripts/bench-resource.ts",
"test:e2e-browser:setup": "tsx test/e2e-browser/setup-login.ts",
"test:e2e-browser": "tsx scripts/run-e2e.ts",
"report:dashboard": "tsx scripts/report-dashboard.ts",
"desktop:bundle": "node scripts/build-desktop-icons.mjs && esbuild src/desktop/main.ts --bundle --outfile=dist/desktop/main.cjs --platform=node --format=cjs --external:electron && esbuild src/desktop/preload.ts --bundle --outfile=dist/desktop/preload.cjs --platform=node --format=cjs --external:electron && esbuild src/desktop/renderer/app.ts --bundle --outfile=dist/desktop/renderer/app.js --platform=browser --format=iife && cp src/desktop/renderer/index.html dist/desktop/renderer/index.html && cp src/desktop/renderer/style.css dist/desktop/renderer/style.css && cp -R src/desktop/assets dist/desktop/assets",
"desktop:runtime": "node scripts/prepare-desktop-runtime.mjs",
"desktop:smoke": "tsx scripts/desktop-smoke.ts",
"desktop:install:local": "bash src/desktop/install-local.sh",
"desktop:dev": "bun run build && bun run desktop:bundle && electron dist/desktop/main.cjs",
"desktop:pack": "bun run desktop:pack:local",
"desktop:pack:local": "node scripts/desktop-pack-local.mjs",
"prepublishOnly": "npm run build",
"postinstall": "node scripts/postinstall-bin.mjs",
"prepare": "git config core.hooksPath scripts/git-hooks 2>/dev/null || true"
},
"dependencies": {
"@larksuiteoapi/node-sdk": "^1.64.0",
"@modelcontextprotocol/sdk": "^1.29.0",
"@xterm/headless": "^6.0.0",
"croner": "^10.0.1",
"dotenv": "^17.3.1",
"markdown-it": "^14.1.1",
"https-proxy-agent": "^7.0.6",
"proxy-agent": "^6.5.0",
"proxy-from-env": "^1.1.0",
"qrcode-terminal": "^0.12.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"ws": "^8.19.0",
"yaml": "^2.9.0",
"zod": "^3.23.0"
},
"optionalDependencies": {
"@napi-rs/canvas": "^0.1.65"
},
"devDependencies": {
"@midscene/test": "1.13.1",
"@midscene/web": "1.13.1",
"@playwright/test": "^1.58.2",
"@types/markdown-it": "^14.1.2",
"@types/node": "^22.0.0",
"@types/proxy-from-env": "^1.0.4",
"@types/qrcode-terminal": "^0.12.2",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/react-test-renderer": "19.1.0",
"@types/ws": "^8.18.1",
"@xterm/addon-unicode11": "^0.9.0",
"electron": "^37.0.0",
"electron-builder": "^26.0.0",
"esbuild": "^0.28.0",
"memfs": "^4.57.1",
"node-pty": "^1.1.0",
"playwright": "^1.58.2",
"react-test-renderer": "19.2.7",
"tsx": "^4.20.5",
"typescript": "^5.3.0",
"vitest": "^4.0.18"
},
"engines": {
"node": ">=22"
},
"packageManager": "bun@1.4.2",
"repository": {
"type": "git",
"url": "git+https://github.com/deepcoldy/botmux.git"
},
"license": "MIT",
"trustedDependencies": [
"electron",
"node-pty"
]
}