ce25d3f29035c82dccd08bab9062ba11a0510ba8
Add SessionsService#routeIncomingMessage: if the user has an active non-completed session, route to its agent by status (only objective_discovery is implemented so far - any other status rejects with a clear 409 rather than failing silently); otherwise run the intent router first and only create a session + start Agent 1 when it detects a learning intent, replying as plain conversational Max (PERSONALITY_PROMPT only, no session) otherwise. Exposed as POST /sessions/messages (JWT-protected), the new single entry point the chat window should call instead of unconditionally creating a session on every message. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
forge-scaffold
An Electron application with React and TypeScript
Recommended IDE Setup
Project Setup
Le code de l'application vit dans le sous-dossier Max Avatar/ (la racine du depot ne contient
que la documentation et la configuration partagee : CLAUDE.md, docs/, .gitea/, .husky/).
Toutes les commandes ci-dessous s'executent depuis Max Avatar/.
Install
$ cd "Max Avatar"
$ npm install
Development
$ npm run dev
Build
# For windows
$ npm run build:win
# For macOS
$ npm run build:mac
# For Linux
$ npm run build:linux
Languages
TypeScript
95.8%
JavaScript
3.8%
CSS
0.2%
HTML
0.1%