8 Commits

Author SHA1 Message Date
ordinarthur
a98397a241 add code 2026-04-08 18:37:08 +02:00
ordinarthur
92605d728b feat: add detailed business plan document outlining production costs, monetization, and financial projections. 2026-03-27 16:35:53 +01:00
ordinarthur
787a5805b7 ca marche fluide ! 2026-03-27 15:50:41 +01:00
ordinarthur
4baabf3727 nice conversation ok avec openai & elevenlab en text to speach 2026-03-27 12:43:14 +01:00
ordinarthur
e246e96faa speach to text is ok 2026-03-27 11:57:52 +01:00
ordinarthur
41a843147c feat: add WebSocket gateway for robot connection
- RobotGateway on /ws/robot namespace (Socket.IO)
- Device JWT auth on connection (rejects invalid/missing tokens)
- Connection tracking (connectedDevices map)
- Event handlers: wake_word_detected, audio_chunk, speech_end, user_interrupt
- Helper methods: sendAudioChunk, sendStatus, sendNotification
- Status feedback: idle, listening, thinking, speaking

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-27 10:04:28 +01:00
ordinarthur
0115669464 feat: add JWT authentication, user registration, and device management
- AuthService with register, login, refresh token flows
- JWT strategy + guard (Passport)
- User, Home, Device services
- REST endpoints: /auth/register, /auth/login, /auth/me, /auth/refresh
- Device registration with long-lived JWT tokens (365d)
- Device listing per home
- bcrypt password hashing (cost 12) and device token hashing
- Fix snake_case column names on all entity date columns

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-27 09:27:13 +01:00
ordinarthur
674109ea22 feat: initial project setup — Phase 0
Monorepo pnpm avec NestJS backend en architecture hexagonale.
- Structure hexagonale complète (ports, adapters, domain entities)
- 9 entities TypeORM (Home, User, Device, Credentials, Session, Message, Memory, Timer)
- Migration initiale SQL avec pgvector support
- Docker Compose (PostgreSQL 16 + pgvector + Redis 7)
- Config partagée (tsconfig, ESLint, Prettier)
- Outbound ports définis (STT, TTS, LLM, Cache, Storage, VectorStore)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-27 09:01:52 +01:00