orquesta-cli 0.2.59 → 0.2.60

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.
@@ -154,6 +154,14 @@ export const PlanExecuteApp = ({ llmClient: initialLlmClient, modelInfo, resumeL
154
154
  setPendingUserMessage(null);
155
155
  },
156
156
  }), []);
157
+ useEffect(() => {
158
+ if (!isProcessing && pendingUserMessage) {
159
+ const msg = pendingUserMessage;
160
+ setPendingUserMessage(null);
161
+ pendingUserMessageRef.current = null;
162
+ setTimeout(() => { handleSubmitRef.current?.(msg); }, 50);
163
+ }
164
+ }, [isProcessing, pendingUserMessage]);
157
165
  const lastCtrlCTimeRef = React.useRef(0);
158
166
  const DOUBLE_TAP_THRESHOLD = 1500;
159
167
  const handleSubmitRef = React.useRef(() => { });
@@ -1118,6 +1126,7 @@ export const PlanExecuteApp = ({ llmClient: initialLlmClient, modelInfo, resumeL
1118
1126
  processAndExecute();
1119
1127
  }
1120
1128
  }, [isProcessing, pendingUserMessage, llmClient, messages, planExecutionState, addLog]);
1129
+ handleSubmitRef.current = handleSubmit;
1121
1130
  if (isInitializing) {
1122
1131
  const getInitStepText = () => {
1123
1132
  switch (initStep) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orquesta-cli",
3
- "version": "0.2.59",
3
+ "version": "0.2.60",
4
4
  "description": "Orquesta CLI - AI-powered coding assistant with team collaboration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",