orquesta-cli 0.2.69 → 0.2.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -93,8 +93,8 @@ export class PlanExecutor {
93
93
  throw new Error('INTERRUPTED');
94
94
  }
95
95
  let currentMessages = messages;
96
- const COMPLEX_PATTERNS = /\b(and then|after that|first.*then|step \d|multiple|several|refactor.*entire|migrate|rewrite.*all|crea.*app|create.*app|build.*app|construye|implement|set up|setup|scaffold|initialize|init.*project)\b/i;
97
- const isSimpleTask = userMessage.length < 200 && !COMPLEX_PATTERNS.test(userMessage);
96
+ const isSimpleTask = userMessage.length < 80 &&
97
+ /^(ping|pong|hi|hello|hola|hey|thanks|gracias|ok|bye|adios|test)\s*[.!?]?$/i.test(userMessage.trim());
98
98
  const isConversational = userMessage.length < 100 &&
99
99
  /^(ping|hi|hello|hola|hey|thanks|ok|si|yes|no|que|how|what|why|when|who)\b/i.test(userMessage);
100
100
  if (isSimpleTask) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orquesta-cli",
3
- "version": "0.2.69",
3
+ "version": "0.2.70",
4
4
  "description": "Orquesta CLI - AI-powered coding assistant with team collaboration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",