codeep 1.0.77 → 1.0.79
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.
- package/dist/app.js +4 -2
- package/package.json +1 -1
package/dist/app.js
CHANGED
|
@@ -163,10 +163,12 @@ export const App = () => {
|
|
|
163
163
|
return () => clearTimeout(timer);
|
|
164
164
|
}
|
|
165
165
|
}, [notification, notificationDuration]);
|
|
166
|
-
// Clear terminal when opening modals
|
|
166
|
+
// Clear terminal and input when opening command-triggered modals (not session-picker or permission)
|
|
167
167
|
useEffect(() => {
|
|
168
|
-
|
|
168
|
+
const commandModals = ['help', 'status', 'sessions', 'sessions-delete', 'model', 'protocol', 'language', 'settings', 'provider', 'search', 'export', 'logout'];
|
|
169
|
+
if (commandModals.includes(screen)) {
|
|
169
170
|
stdout?.write('\x1b[2J\x1b[H');
|
|
171
|
+
setClearInputTrigger(prev => prev + 1); // Clear input to remove command text and suggestions
|
|
170
172
|
}
|
|
171
173
|
}, [screen, stdout]);
|
|
172
174
|
// Handle keyboard shortcuts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeep",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.79",
|
|
4
4
|
"description": "AI-powered coding assistant built for the terminal. Multiple LLM providers, project-aware context, and a seamless development workflow.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|