Files
zclaw_openfang/package.json
iven 6c6d21400c fix(scripts): use powershell instead of pwsh and add DesktopOnly mode
- Replace pwsh with powershell for Windows compatibility
- Add -DesktopOnly flag to skip all external services
- Add automatic port 1420 cleanup before starting
- Improve stop command to kill all related processes
- Update package.json scripts for easier access

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 09:40:16 +08:00

50 lines
1.5 KiB
JSON

{
"name": "zclaw",
"version": "0.2.0",
"description": "ZCLAW - OpenFang desktop client with Tauri, Chinese model providers, and Feishu integration",
"main": "dist/gateway/index.js",
"scripts": {
"dev": "tsx watch src/gateway/index.ts",
"build": "tsc",
"setup": "tsx scripts/setup.ts",
"test": "vitest run",
"gateway:start": "openfang gateway start",
"gateway:status": "openfang gateway status",
"gateway:doctor": "openfang doctor",
"start": "powershell -ExecutionPolicy Bypass -File ./start-all.ps1",
"start:dev": "powershell -ExecutionPolicy Bypass -File ./start-all.ps1 -Dev",
"start:desktop": "powershell -ExecutionPolicy Bypass -File ./start-all.ps1 -DesktopOnly",
"start:stop": "powershell -ExecutionPolicy Bypass -File ./start-all.ps1 -Stop",
"desktop": "cd desktop && pnpm tauri dev",
"desktop:build": "cd desktop && pnpm tauri build",
"chromedriver": "chromedriver --port=4444"
},
"keywords": [
"ai",
"agent",
"openfang",
"tauri",
"feishu",
"chinese-models"
],
"author": "ZCLAW Team",
"license": "MIT",
"dependencies": {
"ws": "^8.16.0",
"zod": "^3.22.0"
},
"devDependencies": {
"@testing-library/react": "^16.3.2",
"@types/node": "^20.11.0",
"@types/ws": "^8.5.10",
"@vitejs/plugin-react": "^5.1.4",
"@vitest/ui": "^4.0.18",
"jest": "^29.7.0",
"jsdom": "^28.1.0",
"node-fetch": "^3.3.2",
"tsx": "^4.7.0",
"typescript": "^5.3.0",
"vitest": "^4.0.18"
}
}