Complete snapshot of /opt/microdao-daarion/ from NODE1 (144.76.224.179).
This represents the actual running production code that has diverged
significantly from the previous main branch.
Key changes from old main:
- Gateway (http_api.py): expanded from ~40KB to 164KB with full agent support
- Router: new /v1/agents/{id}/infer endpoint with vision + DeepSeek routing
- Behavior Policy: SOWA v2.2 (3-level: FULL/ACK/SILENT)
- Agent Registry: config/agent_registry.yml as single source of truth
- 13 agents configured (was 3)
- Memory service integration
- CrewAI teams and roles
Excluded from snapshot: venv/, .env, data/, backups, .tgz archives
Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
628 B
Bash
Executable File
21 lines
628 B
Bash
Executable File
#!/bin/bash
|
|
# JetStream Health Check Script
|
|
set -e
|
|
NATS_URL="${NATS_URL:-nats://dagi-nats-node1:4222}"
|
|
|
|
echo "=== JETSTREAM STATUS ==="
|
|
echo ""
|
|
|
|
echo "1. Streams:"
|
|
docker run --rm --network dagi-network natsio/nats-box:latest nats -s "$NATS_URL" stream ls 2>/dev/null || {
|
|
echo " ❌ Failed to list streams"
|
|
exit 1
|
|
}
|
|
|
|
echo ""
|
|
echo "2. Consumer Lag (ARTIFACT_JOBS):"
|
|
docker run --rm --network dagi-network natsio/nats-box:latest nats -s "$NATS_URL" consumer info ARTIFACT_JOBS render_pdf_worker 2>/dev/null | grep -E "Unprocessed|Ack Pending|Redelivered" || echo " No consumer"
|
|
|
|
echo ""
|
|
echo "=== CHECK COMPLETE ==="
|