Automation Engine (Python FastAPI v2.0.0):
- Novos step types: sub_workflow, split_batch, loop, retry, error_branch,
send_email, send_whatsapp, update_record, create_record, manus_task
- Retry com backoff por step (retry_count + retry_delay_seconds)
- Branching condicional (on_success/on_failure/error_branch)
- Interpolação de variáveis {{campo}} em todos os steps
- Novos tipos de evento CRM: crm.contact.created, crm.deal.stage_changed,
crm.deal.won, crm.deal.lost, crm.ticket.created, crm.message.received, etc.
- Endpoint POST /xos/trigger: recebe eventos CRM e repassa ao Node.js
- Forward bidirecional: engine Python ↔ Node.js XOS webhook
Manus IA — 3 novos tools:
- automation_trigger: dispara automações por ID ou evento do barramento
- xos_action: cria/atualiza contacts, deals, tickets, tarefas via IA
(create_contact, update_contact, create_deal, move_deal_stage,
create_ticket, assign_agent, create_task, create_activity, create_note)
- inbox_action: age na Central de Atendimento via IA
(close_conversation, transfer_conversation, send_message,
add_label, resolve_ticket, escalate_ticket)
XOS CRM Routes — Event Bus wiring:
- POST /contacts emite crm.contact.created
- POST /deals emite crm.deal.created
- PUT /deals/:id/stage emite crm.deal.stage_changed / crm.deal.won / crm.deal.lost
- POST /tickets emite crm.ticket.created
- CRUD completo para xos_automations (GET/POST/PATCH/DELETE)
- POST /automations/:id/execute — execução manual
- POST /automations/webhook/crm-event — recebe eventos do engine Python
- Executor de xos_automations: avalia conditions + executa actions
(send_email, send_whatsapp, create_task, assign_agent, update_field,
move_deal_stage, notify_team, webhook, agent_task)
https://claude.ai/code/session_01DinH3VcgbAv1d9MqnNxzdb
|
||
|---|---|---|
| client | ||
| db | ||
| docker | ||
| metabase | ||
| migrations | ||
| python-service | ||
| script | ||
| scripts | ||
| server | ||
| shared | ||
| temp_laravel | ||
| .env.example | ||
| .gitignore | ||
| .replit | ||
| ARCADIA_AUDIT_EXECUCAO.md | ||
| CLAUDE.md | ||
| DOCUMENTATION.md | ||
| Dockerfile | ||
| Dockerfile.python | ||
| INTEGRACAO_IA.md | ||
| MAPA_GERAL_RETAIL.md | ||
| MAPA_PLUS_ARCADIA.md | ||
| MAPA_SISTEMA_ARCADIA.md | ||
| PLANO_BI_SUPERSET.md | ||
| PLANO_EVOLUCAO_ARCADIA.md | ||
| PLANO_SOE_CENTRAL.md | ||
| PLANO_SOE_CENTRAL_v2.md | ||
| README.md | ||
| RELATORIO_TECNICO_RETAIL.md | ||
| components.json | ||
| docker-compose.prod.yml | ||
| docker-compose.yml | ||
| drizzle.config.ts | ||
| ecosystem.config.js | ||
| grafico_ativo_passivo.py | ||
| main.py | ||
| package.json | ||
| postcss.config.js | ||
| pyproject.toml | ||
| replit.md | ||
| tsconfig.json | ||
| vite-plugin-meta-images.ts | ||
| vite.config.ts | ||
README.md
Arcádia Suite
O Escritório Estratégico para a Empresa Moderna.
Plataforma que centraliza produtividade, inteligência, tomada de decisão e governança, orquestrando ERPs, pessoas e dados.
Arquitetura
- Frontend: React 18 + TypeScript + Tailwind CSS + shadcn/ui (66 páginas)
- Backend: Express.js + Socket.IO (38 grupos de rotas API)
- Inteligência: OpenAI GPT-4o + 6 Agentes Autônomos (Dev Center XOS)
- Motores: Fiscal (8002), Contábil (8003), BI (8004), Automação (8005), Comunicação (8006)
- ERP Plus: Laravel/PHP (8080) com NF-e/NFC-e/CT-e/MDF-e
- Banco: PostgreSQL 16 + Drizzle ORM + ChromaDB
Módulos Principais
- SOE (Sistema Operacional Empresarial)
- Financeiro, Contábil, Fiscal
- CRM + WhatsApp Multi-sessão
- Varejo (Celulares + Assistência Técnica)
- Business Intelligence
- Dev Center com Pipeline Autônomo
- Casa de Máquinas (Engine Room)
- Governança XOS
- Knowledge Graph + IA
Quick Start
npm install
cp .env.example .env # Configure DATABASE_URL, OPENAI_API_KEY
npx drizzle-kit push
npm run dev
Login padrão: admin / admin
Documentação
Licença
Proprietário - Arcádia Suite