00619add9f5dd67f186770077eceac68ab40d0f6
Max Avatar can now call Max API's /sessions endpoints: session.ts keeps the access token in memory after login (never persisted, cleared on logout, same lifecycle as the existing email/keys state), a new sessionsClient.ts wraps the 4 endpoints with the Bearer header, and index.ts exposes them as sessions:create/get/send-objective-message/ confirm-objective IPC handlers (input-validated, requireLoggedIn() gated) surfaced to the renderer as window.api.sessions.*. 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%