Phase 1 — Security:
- Fix command injection: shell=True → shlex.split() + chaining blocklist
- Preserve tool blocks in STM (no longer corrupted by text filtering)
- Add user_id ownership validation on cross-device commands
- Add token-based auth to web UI (Bearer / cookie / query param)
- Fix wake word mic race condition
Phase 2 — Cross-Device:
- Cloud sync on every memory save via cloud_db
- WebSocket push channel (/ws/device/{device_id}) for real-time delivery
- Propagate real user_id through Telegram, WebSocket, REST
- Command timeout/expiry for stale pending commands
- Device heartbeat loop from listener (every 60s)
Phase 3 — Intelligence:
- Background task scheduler with job registry
- Calendar watch, task reminders, routine alerts
- Command pattern analytics (top tools, peak hours)
- Complete LLM fallback chain across all backends
- Rate limiting middleware (60 req/min per IP)
Phase 4 — Polish:
- SQLite encryption via JARVIS_DB_KEY env var
- Rich monitoring dashboard at /dashb…
fix: increase all timeouts to 180s, extract tools before STM, add multi-step tool chaining, differentiate listener errors
Khanna, Videh Rakesh Rakesh
f3ed77c
- All LLM backend HTTP timeouts: 120s → 180s (llm.py)
- Listener/greeter/clap client timeouts: 60s → 180s
- Extract tool calls BEFORE apply_stm() to prevent corruption
- Log warning when tool-call regex misses potential matches
- Multi-step tool chaining (up to 3 rounds) in REST and WebSocket
- Differentiated error messages in jarvis_listener.py (timeout vs connection vs parse)
feat: add cloud DB, user profiles, daily routines & work session tracking
Khanna, Videh Rakesh Rakesh
ea9ee18
- cloud_db.py: MongoDB Atlas integration with SQLite fallback
- user_profile.py: preferences, daily routines, work session management
- tools/user_tools.py: 14 LLM-callable tools for user context
- server.py: user context in system prompt, 6 new REST API routes
- tests/test_user_profile.py: 14 unit tests (all passing)
- requirements.txt: added motor, pymongo
- README.md: documented new features and setup