- Pass ANTHROPIC_API_KEY via env dict instead of CLI args (P1 security fix) - Add monitor_subprocess() coroutine with fcntl non-blocking reads - Inject STAGE markers (analysts/research/trading/risk/portfolio) into script stdout - Update task stage state and broadcast WebSocket progress at each stage boundary - Add asyncio.Event for monitor cancellation on task completion/cancel Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| main.py | ||