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>
This commit is contained in:
iven
2026-03-21 00:09:47 +08:00
parent ce522de7e9
commit c5d91cf9f0
11 changed files with 4911 additions and 26 deletions

View File

@@ -8,6 +8,8 @@
"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",