Phase6/7 runtime + Gitea smoke gate setup #1

Merged
daarion-admin merged 214 commits from codex/sync-node1-runtime into main 2026-03-05 10:38:18 -08:00
2 changed files with 21 additions and 14 deletions
Showing only changes of commit a0a89b577d - Show all commits

View File

@@ -152,6 +152,15 @@ services:
- CLAN_PROMPT_PATH=/app/gateway-bot/clan_prompt.txt
# Eonarch - Еволюція свідомості
- EONARCH_TELEGRAM_BOT_TOKEN=7962391584:AAFYkelLRG3VR_Lxuu6pEGG76t4vZdANtz4
# DAARWIZZ - Meta-Orchestrator
- DAARWIZZ_TELEGRAM_BOT_TOKEN=8323412397:AAGZbAR22LuOiGD8xVC3OXMjahQ8rs2lJwo
- DAARWIZZ_NAME=DAARWIZZ
# DRUID - Ayurveda/Cosmetics
- DRUID_TELEGRAM_BOT_TOKEN=8145618489:AAFR714mBsNmiuF-rjCw-295iORBReJQZ70
- DRUID_NAME=DRUID
# GREENFOOD - Food ERP
- GREENFOOD_TELEGRAM_BOT_TOKEN=7495165343:AAGR1XEOzg7DkPFPCzL_eYLCJfxJuonCxug
- GREENFOOD_NAME=GREENFOOD
- EONARCH_NAME=EONARCH
- EONARCH_PROMPT_PATH=/app/gateway-bot/eonarch_prompt.txt
- MEMORY_SERVICE_URL=http://memory-service:8000

View File

@@ -1771,22 +1771,20 @@ async def handle_telegram_webhook(
# Endpoints
# ========================================
# DAARWIZZ webhook endpoints (both paths for compatibility)
@router.post("/telegram/webhook")
async def telegram_webhook(update: TelegramUpdate):
"""
Handle Telegram webhook for DAARWIZZ agent.
Telegram update format:
{
"update_id": 123,
"message": {
"message_id": 456,
"from": {"id": 12345, "username": "alice"},
"chat": {"id": 12345, "type": "private"},
"text": "Hello!"
}
}
"""
"""Handle Telegram webhook for DAARWIZZ agent (default path)."""
try:
return await handle_telegram_webhook(DAARWIZZ_CONFIG, update)
except Exception as e:
logger.error(f"Error handling DAARWIZZ Telegram webhook: {e}", exc_info=True)
raise HTTPException(status_code=500, detail=str(e))
@router.post("/daarwizz/telegram/webhook")
async def daarwizz_telegram_webhook(update: TelegramUpdate):
"""Handle Telegram webhook for DAARWIZZ agent (agent-specific path)."""
try:
return await handle_telegram_webhook(DAARWIZZ_CONFIG, update)
except Exception as e: