immersive2/server/api
Michael Mainguy 4ca98cf980 Add LangChain model wrappers and enhance diagram AI tools
- Migrate to LangChain for model abstraction (@langchain/anthropic, @langchain/ollama)
- Add custom ChatCloudflare class for Cloudflare Workers AI
- Simplify API routes using unified LangChain interface
- Add session preferences API for storing user settings
- Add connection label preference (ask user once, remember for session)
- Add shape modification support (change entity shapes via AI)
- Add template setter to DiagramObject for shape changes
- Improve entity inference with fuzzy matching
- Map colors to 16 toolbox palette colors
- Limit conversation history to last 6 messages
- Fix model switching to accept display names

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 10:17:15 -06:00
..
claude.js Add LangChain model wrappers and enhance diagram AI tools 2026-01-14 10:17:15 -06:00
cloudflare.js Add LangChain model wrappers and enhance diagram AI tools 2026-01-14 10:17:15 -06:00
index.js Add Cloudflare Workers AI provider and multiple AI chat improvements 2026-01-03 06:31:43 -06:00
ollama.js Add LangChain model wrappers and enhance diagram AI tools 2026-01-14 10:17:15 -06:00
session.js Add LangChain model wrappers and enhance diagram AI tools 2026-01-14 10:17:15 -06:00
user.js Add public URL sharing with express-pouchdb sync 2025-12-29 11:49:56 -06:00