orquesta-cli 0.2.67 → 0.2.68

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.
@@ -100,6 +100,10 @@ export class PlanExecutor {
100
100
  if (isSimpleTask) {
101
101
  logger.flow('Simple task detected — skipping planner, executor will handle directly');
102
102
  streamLogger?.logPlanningEnd(0, [], false, 0);
103
+ const lastMsg = currentMessages[currentMessages.length - 1];
104
+ if (!(lastMsg?.role === 'user' && lastMsg?.content === userMessage)) {
105
+ currentMessages = [...currentMessages, { role: 'user', content: userMessage }];
106
+ }
103
107
  }
104
108
  else {
105
109
  callbacks.setCurrentActivity('Thinking');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orquesta-cli",
3
- "version": "0.2.67",
3
+ "version": "0.2.68",
4
4
  "description": "Orquesta CLI - AI-powered coding assistant with team collaboration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",