orquesta-cli 0.2.111 → 0.2.112
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.
|
@@ -640,6 +640,29 @@ export const PlanExecuteApp = ({ llmClient: initialLlmClient, modelInfo, resumeL
|
|
|
640
640
|
if (key.ctrl && inputChar === 'o') {
|
|
641
641
|
setShowLogFiles(prev => !prev);
|
|
642
642
|
}
|
|
643
|
+
if (key.ctrl && inputChar === 's') {
|
|
644
|
+
if (showSessionBrowser ||
|
|
645
|
+
showSettings ||
|
|
646
|
+
showSetupWizard ||
|
|
647
|
+
fileBrowserState.showFileBrowser ||
|
|
648
|
+
commandBrowserState.showCommandBrowser ||
|
|
649
|
+
planExecutionState.askUserRequest ||
|
|
650
|
+
pendingToolApproval) {
|
|
651
|
+
return;
|
|
652
|
+
}
|
|
653
|
+
const text = input.trim();
|
|
654
|
+
if (text) {
|
|
655
|
+
if (isProcessing) {
|
|
656
|
+
addLog({ type: 'user_input', content: `(⚡ steering now — picked up at next step) ${text}` });
|
|
657
|
+
setPendingUserMessage(text);
|
|
658
|
+
setInput('');
|
|
659
|
+
}
|
|
660
|
+
else {
|
|
661
|
+
handleSubmitRef.current?.(text);
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
return;
|
|
665
|
+
}
|
|
643
666
|
});
|
|
644
667
|
const handleFileSelect = useCallback((filePaths) => {
|
|
645
668
|
logger.debug('File selected', { filePaths });
|
|
@@ -1486,14 +1509,14 @@ export const PlanExecuteApp = ({ llmClient: initialLlmClient, modelInfo, resumeL
|
|
|
1486
1509
|
}
|
|
1487
1510
|
setInput(value);
|
|
1488
1511
|
}, onSubmit: handleSubmit, onHistoryPrev: isAnyPanelOpen ? undefined : handleHistoryPrev, onHistoryNext: isAnyPanelOpen ? undefined : handleHistoryNext, placeholder: isProcessing
|
|
1489
|
-
? "AI is working..."
|
|
1512
|
+
? "AI is working... (type + Ctrl+S to steer now)"
|
|
1490
1513
|
: showSessionBrowser
|
|
1491
1514
|
? "Select a session or press ESC..."
|
|
1492
1515
|
: showSettings
|
|
1493
1516
|
? "Press ESC to close settings..."
|
|
1494
1517
|
: showDocsBrowser
|
|
1495
1518
|
? "Select a doc source or press ESC..."
|
|
1496
|
-
: "Type your message... (@ files, / commands, Alt+Enter newline)", focus: !showSessionBrowser && !showSettings && !showDocsBrowser && !planExecutionState.askUserRequest && updatePhase === 'hidden' })),
|
|
1519
|
+
: "Type your message... (@ files, / commands, Alt+Enter newline, Ctrl+S send)", focus: !showSessionBrowser && !showSettings && !showDocsBrowser && !planExecutionState.askUserRequest && updatePhase === 'hidden' })),
|
|
1497
1520
|
input.length > 0 && (React.createElement(Text, { color: input.length > 4000 ? 'red' : input.length > 2000 ? 'yellow' : 'gray', dimColor: true }, input.length.toLocaleString())))),
|
|
1498
1521
|
fileBrowserState.showFileBrowser && !isProcessing && (React.createElement(Box, { marginTop: 0 }, fileBrowserState.isLoadingFiles ? (React.createElement(Box, { borderStyle: "single", borderColor: "yellow", paddingX: 1 },
|
|
1499
1522
|
React.createElement(Spinner, { type: "dots" }),
|