immersive2/server
Michael Mainguy 7769910027 Add server-side session persistence for chat
Implement session management to maintain conversation history and entity
context across page refreshes. Sessions are stored in-memory and include:
- Conversation history (stored server-side, restored on reconnect)
- Entity snapshots synced before each message for LLM context
- Auto-injection of diagram state into Claude's system prompt

Key changes:
- Add session store service with create/resume/sync/clear operations
- Add session API endpoints (/api/session/*)
- Update Claude API to inject entity context and manage history
- Update ChatPanel to initialize sessions and sync entities
- Add debug endpoint for inspecting session state

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-20 13:42:01 -06:00
..
api Add server-side session persistence for chat 2025-12-20 13:42:01 -06:00
etc Add WebXR rendering mode toggle with 4 modes 2025-11-13 10:36:03 -06:00
services Add server-side session persistence for chat 2025-12-20 13:42:01 -06:00
server.js Added stl person to toolbox. 2024-06-17 11:33:24 -05:00