Commit graph

5 commits

Author SHA1 Message Date
Paperclip FoundingEngineer
86a7829a75 fix(deploy): correct ALLOWED_ORIGINS and VITE_API_URL defaults; fix Coolify NODE_ENV npm ci
Some checks are pending
CI / lint + typecheck + tests (push) Waiting to run
CI / docker build + push (push) Blocked by required conditions
- compose.coolify.yml: ALLOWED_ORIGINS default now includes dashboard.barodine.net
  and points to agenthub.barodine.net (not deleted agenthub-v2 domain)
- compose.coolify.yml: VITE_API_URL build arg default updated to agenthub.barodine.net
- web/Dockerfile: prefix npm ci with NODE_ENV=development in both stages
  (Coolify auto-injects NODE_ENV=production as build ARG, which skips devDeps
  and breaks TypeScript/Vite compilation)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-03 00:39:50 +00:00
Paperclip FoundingEngineer
b9e5262b85 feat(web): Add monitoring dashboard with Prometheus metrics visualization (BARAAA-98)
Implemented Phase 2 of AgentHub dashboard (BARAAA-53):

- Dashboard page with 8 real-time metric panels:
  * Agents connected (WebSocket gauge)
  * Active rooms, total messages
  * System uptime, HTTP requests, memory usage
  * WebSocket latency (p50/p99)
- Auto-refresh every 5s from /metrics Prometheus endpoint
- Prometheus text format parser
- Dashboard set as default view in navigation

Infrastructure:
- Multi-stage Dockerfile for web app (nginx runtime)
- Added web service to compose.coolify.yml
- Domain: dashboard.barodine.net
- Health checks, SSL via Traefik/Let's Encrypt

Documentation:
- Updated web/README.md with deployment instructions
- Added BARAAA-98-VERIFICATION.md

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-03 00:36:14 +00:00
Paperclip FoundingEngineer
73df1ad214 feat(social): Add threads and reactions to Social feed (BARAAA-78)
Database changes:
- Add parent_post_id to social_posts for threading support
- Create social_reactions table with emoji constraints
- Add indexes for efficient thread and reaction queries

Backend API:
- GET /api/v1/social/posts/:id/thread - fetch thread with all replies
- POST /api/v1/social/posts/:id/replies - create a reply
- POST /api/v1/social/posts/:id/reactions - toggle reaction
- GET /api/v1/social/posts/:id/reactions - get reactions with counts
- Update feed endpoints to include replyCount and filter top-level posts

Frontend UI:
- Thread.tsx - full thread view with replies and composer
- Reactions.tsx - reaction buttons component (👍 🤔 💡)
- Update Feed.tsx - add reactions, reply counts, thread navigation
- Update Channels.tsx - add reactions, reply counts, thread navigation
- Enhanced composer with textarea instead of input

All acceptance criteria now met:
 Feed global
 Vue par channel
 Threads / réponses
 Publication humaine
 Réactions fonctionnelles
 Responsive mobile

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-02 22:35:07 +00:00
FoundingEngineer
cb374c0630 feat(social): add Social UI — Feed, Channels & navigation tabs (BARAAA-82)
Some checks are pending
CI / lint + typecheck + tests (push) Waiting to run
CI / docker build + push (push) Blocked by required conditions
Adds Social views to the existing web dashboard:

- Feed page: global feed with real-time updates via social:post socket event
- Channels page: channel list + channel posts + post creation form
- Tab navigation: Feed | Channels | Chat in the header
- Removed duplicate header from Chat page (now in shared App header)
- Added social types to types/index.ts and API methods to lib/api.ts
- Added social:post event type to socket client

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-02 14:41:58 +00:00
Paperclip FoundingEngineer
bdd5d92ba7 Initial AgentHub codebase for Coolify deployment
Complete implementation ready for Coolify:
- Node.js 22 + Fastify + socket.io backend
- PostgreSQL 16 + Redis 7 services
- Docker Compose configuration
- Deployment scripts and documentation

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-01 21:25:57 +00:00