Files
evotraders/frontend
cillin 6ecc224427 feat: OpenClaw WebSocket integration with workspace file preview
- Migrate OpenClaw from HTTP (port 8004) to WebSocket (port 18789)
- Add workspace file list and content preview handlers
- Add OpenClawStatus component with agent/skills view
- Add OpenClawView panel in trader interface
- Add Zustand store for OpenClaw state management
- Fix gateway logging noise (yfinance, websockets)
- Fix RunWorkspaceManager.get_agent_asset_dir attribute error
- Handle missing workspace files gracefully in preview

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-27 11:08:15 +08:00
..
2026-03-16 02:19:25 +08:00

QuickStart

cd frontend
npm install
npm run dev

Optional Direct Service Calls

The frontend still works with the compatibility backend entrypoint by default. In the current test-stage setup, split services are the recommended default. Point the frontend directly at those standalone services:

VITE_CONTROL_API_BASE_URL=http://localhost:8000/api
VITE_RUNTIME_API_BASE_URL=http://localhost:8003/api/runtime
VITE_NEWS_SERVICE_URL=http://localhost:8002
VITE_TRADING_SERVICE_URL=http://localhost:8001

Current direct-call coverage:

  • runtime panel + gateway port discovery
  • story
  • similar days
  • range explain
  • news for date
  • news categories

If these variables are not set, the frontend falls back to the existing WebSocket-driven compatibility flow.