Open
Conversation
Problem: - Intent "salutation" was detected but returned error response - JSON file was not included in build output (Remix doesn't copy non-imported files) - fs.readFile with process.cwd() path failed in production Solution: - Changed from fs.readFile to direct ES6 import - JSON is now bundled with the application code - Added extensive debug logging to trace loading issues Changes: - app/services/vadf-response-manager.js: Use import instead of fs.readFile - CLAUDE.md: Updated documentation with architecture improvements This ensures vadf_reponses.json is always available in production builds. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Changes: - Updated meta version to 1.1.0 - Refined tone to be more professional and welcoming - Added example utterances for each intent to improve documentation - Improved response messages: * Removed excessive emojis for cleaner professional look * More natural, conversational French * Better structured activation responses * Enhanced password reset guidance with spam folder reminder * Clearer escalation messages - Updated common phrases for better user experience - Maintained all existing intent categories and conditions The responses are now more aligned with B2B customer expectations while remaining helpful and accessible. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
New features: - Added 'creation_compte' intent for account registration * Directs users to https://vadf.fr/account/register * Includes link to FAQ for more information - Added 'faq' intent for general questions * Redirects to https://vadf.fr/pages/faq * Provides fallback to contact@vadf.fr - Updated intent detection in vadf-response-manager.js: * Better keywords for account creation detection * Added FAQ keywords detection * Separated creation from activation intents Changes: - app/prompts/vadf_reponses.json: Added creation_compte and faq intents - app/services/vadf-response-manager.js: Updated intent mapping This ensures users asking to create an account get directed to the registration page instead of the activation flow. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
…ntation - Enhanced CLAUDE.md with complete VADF intent list (17 intents) and SSE event types - Added detailed console.log at all key points in VADF flow: * Backend intent detection in vadf-response-manager.js * Backend session handling in chat.jsx * Frontend SSE event processing in chat.js - Logs include emoji markers for easy filtering: 🔍 Intent detection ✅ Success/confirmation⚠️ Warnings/fallbacks 📦 Event reception 📡 Event transmission 🎯 Mode activation This enables complete end-to-end tracing of VADF responses from user message to UI display, making debugging much easier. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
…n_compte detection - Added all 6 missing FAQ intents to specificMapping: * materiaux: matériaux, tissus, matières * reliquat: reliquat, réapprovisionnement, rupture * stock_indisponible: indisponible, non disponible * devis: devis, prix mesure, devis personnalisé * tarifs: voir tarifs, voir prix, tarifs produits * fiches_techniques: fiche technique, photos produits, documentation - Enhanced activation_compte keywords to better match user queries: * Added "activer votre compte" * Added "activer mon compte" - Organized specificMapping with comments by category (17 total intents): * Compte (4 intents) * Support (2 intents) * Produits (9 intents) This ensures all intents defined in vadf_reponses.json can be properly detected. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
…t 429 headers Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
…, proactive engine)
All trace-level console.log calls in chat.jsx, base-agent.server.js, and claude.server.js are now gated with `if (DEBUG)`. Set DEBUG=true in .env to restore full logging; console.error and console.warn remain ungated. Adds `export const DEBUG` to config.server.js and documents DEBUG=false in .env.example. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.