Files
zclaw_openfang/package.json
iven c5d91cf9f0 feat: add integration test framework and health check improvements
- Add test helper library with assertion functions (scripts/lib/test-helpers.sh)
- Add gateway integration test script (scripts/tests/gateway-test.sh)
- Add configuration validation tool (scripts/validate-config.ts)
- Add health-check.ts library with Tauri command wrappers
- Add HealthStatusIndicator component to ConnectionStatus.tsx
- Add E2E test specs for memory, settings, and team collaboration
- Update ZCLAW-DEEP-ANALYSIS.md to reflect actual project state

Key improvements:
- Store architecture now properly documented as migrated
- Tauri backend shown as 85-90% complete
- Component integration status clarified

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

52 lines
1.6 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",
"test:e2e": "cd desktop && pnpm test:e2e",
"validate:config": "npx ts-node scripts/validate-config.ts",
"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"
}
}