Apple
3de3c8cb36
feat: Add presence heartbeat for Matrix online status
...
- matrix-gateway: POST /internal/matrix/presence/online endpoint
- usePresenceHeartbeat hook with activity tracking
- Auto away after 5 min inactivity
- Offline on page close/visibility change
- Integrated in MatrixChatRoom component
2025-11-27 00:19:40 -08:00
Apple
5bed515852
feat: Upgrade Global Presence to SSE architecture
...
- matrix-presence-aggregator v2 with SSE endpoint
- Created @presence_daemon Matrix user
- SSE proxy in Next.js /api/presence/stream
- Updated frontend to use SSE instead of WebSocket
- Real-time city online count and room presence
2025-11-26 14:43:46 -08:00
Apple
c456727d53
fix: Add nats-py to city-service requirements
2025-11-26 14:25:02 -08:00
Apple
78849cc108
feat: Add Global Presence Aggregator system
...
- GLOBAL_PRESENCE_AGGREGATOR_SPEC.md documentation
- matrix-presence-aggregator service (Python/FastAPI)
- Matrix sync loop for presence/typing
- NATS publishing for room presence
- city-service: presence_gateway for WS broadcast
- Frontend: real-time online count in room list
- useGlobalPresence hook
- Live typing indicators
- Active room highlighting
2025-11-26 14:22:34 -08:00
Apple
a3e632b9e7
feat: Add PWA support
...
- PWA_MOBILE_SPEC.md documentation
- manifest.json with app metadata
- Service Worker with caching strategies
- Offline page
- PWA registration in layout
- App icons (placeholder)
2025-11-26 13:56:22 -08:00
Apple
e0d534ea87
fix: Remove HTML5 validation from auth forms
...
- Add noValidate to forms
- Move validation to JS
- Add proper autoComplete attributes
- Better error messages in Ukrainian
2025-11-26 13:50:13 -08:00
Apple
573afec40f
feat: Implement Matrix Presence & Typing indicators
...
- MATRIX_PRESENCE_TYPING_SPEC.md documentation
- MatrixRestClient: sync-loop with presence+typing events
- MatrixChatRoom: onlineUsers and typingUsers state
- UI: Show N online in header
- UI: Typing indicator with animation
- ChatInput: onTyping callback support
2025-11-26 13:32:51 -08:00
Apple
aa235e820b
fix: Use POST for introspect endpoint
2025-11-26 13:19:27 -08:00
Apple
d9f3134774
fix: Use getAccessToken instead of token from context
2025-11-26 13:17:33 -08:00
Apple
e9c04f6bcd
feat: Implement Matrix Chat Client
2025-11-26 13:15:01 -08:00
Apple
871812ef92
fix: Add httpx to city-service requirements
2025-11-26 12:36:06 -08:00
Apple
984f67c26e
feat: Implement Matrix Rooms Bridge
...
- MATRIX_ROOMS_BRIDGE_SPEC.md documentation
- Migration 012: Add matrix_room_id/alias to city_rooms
- Matrix Gateway service (port 7025)
- City-service: auto-create Matrix rooms on room creation
- Backfill endpoint for existing rooms
- API returns matrix_room_id/alias in room responses
2025-11-26 12:33:54 -08:00
Apple
29febee464
fix: Fix matrix_provisioning imports
2025-11-26 12:07:39 -08:00
Apple
5fdb839f5a
feat: Add Matrix user provisioning on registration
...
- matrix_provisioning.py: Create Matrix users via Synapse admin API
- Auto-create Matrix account when user registers in DAARION
- Return matrix_user_id in registration response
2025-11-26 12:06:55 -08:00
Apple
064ac5af64
fix: Use direct values in Synapse config (env vars not interpolated)
2025-11-26 12:01:57 -08:00
Apple
385a9382fa
fix: Add URL preview blacklist and fix metrics config
2025-11-26 12:00:06 -08:00
Apple
a1b400bf69
fix: Add report_stats to Synapse config
2025-11-26 11:58:45 -08:00
Apple
88d89249f4
fix: Change Synapse port to 8018 (8008 occupied)
2025-11-26 11:58:07 -08:00
Apple
557bfb5ee1
feat: Add Matrix infrastructure (Synapse + Element Web)
...
- Synapse homeserver.yaml configuration
- Element Web config.json
- PostgreSQL init script for synapse DB
- Nginx gateway configuration
- Docker Compose for Matrix stack
- README_MATRIX.md documentation
2025-11-26 11:56:39 -08:00
Apple
5aaf6cbf21
feat: Add Auth Service with JWT authentication
2025-11-26 11:47:00 -08:00
Apple
2c4eb7d432
feat: Add Chat, Agent Console, and Governance UI
...
- WebSocket chat client for city rooms
- Chat UI components (ChatMessage, ChatInput, ChatRoom)
- Agent Console with agent list and invoke functionality
- Governance/DAO page with proposals and voting
- Updated navigation with new routes
- Extended API client for agents and microdao
2025-11-26 09:57:50 -08:00
Apple
25b638ae3d
fix: Add SSR support for API client
2025-11-26 09:26:17 -08:00
Apple
2f30f40c0b
feat: Add Next.js 15 glassmorphism frontend for DAARION MVP
2025-11-26 09:20:33 -08:00
Apple
5ce1bf1035
fix: enable multimodal processing by removing early message check
...
- Commented out early 'if not update.message' validation at line 723
- This was preventing photo and voice messages from being processed
- process_photo() and process_voice() functions are already implemented
- Now photo/voice updates can reach multimodal handlers before text validation
- Fixes issue where bots showed placeholder messages instead of processing media
2025-11-24 02:51:39 -08:00
Apple
7168aaab1e
fix: remove Markdown parse_mode from Telegram messages
...
- Telegram API returns 400 Bad Request with invalid Markdown characters
- Switched to plain text mode (no parse_mode) to prevent errors
- Photo and voice processing now work correctly
- Fixes issue where vision-8b responses couldn't be sent to users
2025-11-24 02:26:07 -08:00
Apple
ccebc2607d
feat: gateway complex routing override for DeepSeek
...
- Add auto_complex logic: if needs_complex_reasoning, set metadata["provider"] = "cloud_deepseek"
- Add context caching in MemoryClient with 5s TTL
- Add GREENFOOD agent configuration
- This enables automatic routing of complex queries to DeepSeek via explicit_provider_override rule
2025-11-24 02:14:30 -08:00
Apple
830d13b5a2
feat: стандартизація обробки повідомлень для всіх агентів
...
- Створено AgentConfig для уніфікації конфігурації агентів
- Додано універсальні функції: process_photo(), process_document(), process_voice()
- Створено handle_telegram_webhook() для будь-якого агента
- Рефакторинг telegram_webhook() та helion_telegram_webhook()
- Оновлено process_voice() для використання STT Service
- Додано реєстр агентів AGENT_REGISTRY
- Оновлено health endpoint для показу всіх агентів
- Додано інструкції для додавання нових агентів
2025-11-21 01:50:18 -08:00
Apple
28e0103301
fix: прибрано повідомлення 'Обробляю фото' та оновлено обробку фото через Swapper vision-8b
2025-11-21 01:25:14 -08:00
Apple
9ed17ba907
fix: виправлено get_telegram_file_path для підтримки Helion токена
2025-11-21 01:17:02 -08:00
Apple
7572e45d2a
feat: додано обробку фото для Helion бота через Swapper vision-8b
2025-11-21 01:16:33 -08:00
Apple
0ca44dd799
docs: оновлено infrastructure_quick_ref.ipynb - Swapper Service замість Vision Encoder
2025-11-21 00:52:35 -08:00
Apple
3fa206503e
docs: оновлено документацію - Swapper Service замість Vision Encoder на Node #1
2025-11-21 00:52:00 -08:00
Apple
6d58532d68
fix: змінено обробку фото для використання Swapper vision-8b замість Vision Encoder
2025-11-21 00:50:57 -08:00
Apple
7d65aeff21
feat: додано обробку фото через Vision Encoder у gateway-bot
2025-11-21 00:37:10 -08:00
Apple
e018b9ab68
feat: додано Node Registry, GreenFood, Monitoring та Utils
2025-11-21 00:35:41 -08:00
Apple
31f3602047
feat: оновлення інфраструктури з Node #2 та нові сервіси
2025-11-21 00:35:03 -08:00
Apple
36c35cab57
fix: Виправити структуру запиту Helion до Router (context на верхньому рівні)
2025-11-17 13:23:41 -08:00
Apple
8c3c0726b4
fix: move helion config to agents section, remove duplicate from policies
2025-11-17 11:46:10 -08:00
Apple
df1cd614cd
docs: update GPU specs (RTX 4000 Ada) and Vision Encoder performance with GPU acceleration
2025-11-17 11:39:31 -08:00
Apple
a945b42ba0
feat: re-enable GPU support for Vision Encoder after nvidia-container-toolkit installation
2025-11-17 06:45:54 -08:00
Apple
1fc2f7cfee
fix: correct provider field name in smoke test
2025-11-17 06:32:08 -08:00
Apple
b521c9cfc5
fix: register vision_encoder from orchestrator_providers config
2025-11-17 06:14:08 -08:00
Apple
212eb0a5a0
feat: add vision_encoder to orchestrator_providers
2025-11-17 06:11:51 -08:00
Apple
106358417a
fix: remove GPU requirement from Vision Encoder for CPU fallback
2025-11-17 05:51:11 -08:00
Apple
6f28171842
docs: add quick deployment guide for Vision Encoder
...
- One-command deploy via automated script
- Manual step-by-step deployment
- Verification checklist
- Troubleshooting guide
- Expected results and GPU usage
- Next steps after deployment
2025-11-17 05:26:52 -08:00
Apple
12ce1fa9b9
feat: add automated deployment script for Vision Encoder
...
- 17-step deployment automation
- GPU and Docker GPU runtime checks
- Automatic backup before deployment
- Vision Encoder + Qdrant deployment
- Health checks and smoke tests
- GPU monitoring
- Colorized output with status indicators
Usage: ssh root@144.76.224.179 'cd /opt/microdao-daarion && ./deploy-vision-encoder.sh'
2025-11-17 05:25:49 -08:00
Apple
4601c6fca8
feat: add Vision Encoder service + Vision RAG implementation
...
- Vision Encoder Service (OpenCLIP ViT-L/14, GPU-accelerated)
- FastAPI app with text/image embedding endpoints (768-dim)
- Docker support with NVIDIA GPU runtime
- Port 8001, health checks, model info API
- Qdrant Vector Database integration
- Port 6333/6334 (HTTP/gRPC)
- Image embeddings storage (768-dim, Cosine distance)
- Auto collection creation
- Vision RAG implementation
- VisionEncoderClient (Python client for API)
- Image Search module (text-to-image, image-to-image)
- Vision RAG routing in DAGI Router (mode: image_search)
- VisionEncoderProvider integration
- Documentation (5000+ lines)
- SYSTEM-INVENTORY.md - Complete system inventory
- VISION-ENCODER-STATUS.md - Service status
- VISION-RAG-IMPLEMENTATION.md - Implementation details
- vision_encoder_deployment_task.md - Deployment checklist
- services/vision-encoder/README.md - Deployment guide
- Updated WARP.md, INFRASTRUCTURE.md, Jupyter Notebook
- Testing
- test-vision-encoder.sh - Smoke tests (6 tests)
- Unit tests for client, image search, routing
- Services: 17 total (added Vision Encoder + Qdrant)
- AI Models: 3 (qwen3:8b, OpenCLIP ViT-L/14, BAAI/bge-m3)
- GPU Services: 2 (Vision Encoder, Ollama)
- VRAM Usage: ~10 GB (concurrent)
Status: Production Ready ✅
2025-11-17 05:24:36 -08:00
Apple
b2b51f08fb
Add comprehensive Cursor task for fixing Telegram bots routing and system prompts
2025-11-16 16:45:18 -08:00
Ivan Tytar
765956ab09
Add debug logging to Router llm_provider
2025-11-17 00:40:50 +01:00
Ivan Tytar
6dc35500e5
Fix Helion system_prompt: correct payload.context structure
...
Changed from nested 'payload': {'context': {
to proper 'payload': { 'context': { structure
so Router can extract system_prompt correctly
2025-11-17 00:30:18 +01:00