a0f4d9df1e212e883dbf27bf388bb95e0d9b9861
"1 semaine" reformulated by the LLM as "une semaine" was wrongly rejected as an invalid duration (parseDurationHours only accepted a leading digit), even though 168h is well within the 1h-12-weeks range. Found via real user testing: "apprends-moi la trigonometrie en 1 semaine" was rejected with the generic out-of-range message. Fix is two-layered: the prompt now explicitly tells the model to always write duration as "<digit> <unit>", and the parser accepts common French spelled-out numbers (un/une through douze) as a defense-in-depth fallback since prompts are not a hard guarantee. 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%