7179743d4e5e23becc5abe65452c5a37644b37ae
Replace the chat window's unconditional create-session-then-send flow with a single call to the new POST /sessions/messages endpoint: a plain "salut ça va ?" no longer starts a fake training session, since the backend's intent router decides that now. Add sessions.routeMessage to the IPC/preload surface and the sessions HTTP client. useSessionStore.sendMessage only sets sessionId/status (fetched fresh via sessions:get) when the backend actually reports type: "learn". The stepper-window-open + status-broadcast trigger in main/index.ts moves from sessions:create's handler to sessions:route-message's, since session creation now happens inside the backend's routing logic rather than via an explicit prior call. 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%