diff --git a/vibn-frontend/app/api/chat/route.ts b/vibn-frontend/app/api/chat/route.ts index 7750e26..6835960 100644 --- a/vibn-frontend/app/api/chat/route.ts +++ b/vibn-frontend/app/api/chat/route.ts @@ -71,7 +71,7 @@ function classifyTurnIntent(message: string): TurnIntent { // Feature build if ( - /(build|create|add|implement|make a|setup|wire up|scaffold|integrate)/.test( + /(build|create|add|implement|make|setup|wire|scaffold|integrate|restart|start|reboot|run)/.test( m, ) ) { @@ -94,7 +94,7 @@ function classifyTurnIntent(message: string): TurnIntent { return "status_check"; // Conversational fallback - if (m.length < 20 || /^(hi|hello|thanks|ok|yes|no)/.test(m)) + if (m.length < 5 || /^(hi|hello|thanks|ok|yes|no)/.test(m)) return "conversational"; // Default to a generous feature build if we can't tell