Add CrabDeck - #1
Conversation
Full project source: gateway (token-authed WebSocket bus), orchestrator (FastAPI health tracker), Hermes and OpenClaw agents (Ollama-backed), React/Vite UI, Ollama Modelfile, Windows and Linux installers, and management scripts. Shell exec is off by default; CORS locked to an explicit origin list per SECURITY.md. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013VSy1kXNVWqgwXtzWR11uS
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Note Unit test generation is a public access feature. Expect some limitations and changes as we gather feedback and continue to improve it. Generating unit tests... This may take up to 20 minutes. |
1 similar comment
|
Note Unit test generation is a public access feature. Expect some limitations and changes as we gather feedback and continue to improve it. Generating unit tests... This may take up to 20 minutes. |
|
✅ Created PR with unit tests: #2 |
|
Request timed out after 900000ms (requestId=17eac645-632e-4897-a595-18dc2d4ee184) |
hermes_agent.py and openclaw_agent.py call requests/subprocess synchronously from inside their asyncio run() loop. Ollama generation can take up to 120s, but the gateway's heartbeat watchdog trips after just 20s of silence — so any slow prompt or task stalled the event loop long enough to starve the heartbeat coroutine and get the agent incorrectly marked missed_heartbeat while it was still working. Offload these calls with asyncio.to_thread so heartbeats keep flowing.
Summary
CrabDeckv2.2clean.zipGATEWAY_TOKEN, OpenClaw shell execution is off by default (ENABLE_SHELL_EXEC=1opt-in), and CORS is locked to an explicit origin listComponents added
gateway/server.jsorchestrator/main.pyagents/hermes_agent.pyagents/openclaw_agent.pyui/src/CrabDeck.jsxollama/ModelfilecrabdeckOllama model definitioninstaller/Install-CrabDeck.ps1GATEWAY_TOKEN)installer/Install-CrabDeck-Linux.shStart-CrabDeck.ps1/Stop-CrabDeck.ps1SECURITY.mdTest plan
http://localhost:5173and confirm Hermes tab sends/receives messages via OllamaENABLE_SHELL_EXEC=1)GATEWAY_TOKEN🤖 Generated with Claude Code
https://claude.ai/code/session_013VSy1kXNVWqgwXtzWR11uS
Generated by Claude Code