codeep 1.0.88 → 1.0.89

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.
Files changed (2) hide show
  1. package/dist/app.js +3 -9
  2. package/package.json +1 -1
package/dist/app.js CHANGED
@@ -173,20 +173,14 @@ export const App = () => {
173
173
  return () => clearTimeout(timer);
174
174
  }
175
175
  }, [notification, notificationDuration]);
176
- // Clear input when opening command modals
176
+ // Clear input when opening modals
177
177
  useEffect(() => {
178
- const commandModals = ['help', 'status', 'sessions', 'sessions-delete', 'model', 'protocol', 'language', 'settings', 'provider', 'search', 'export', 'logout'];
179
- if (commandModals.includes(screen)) {
178
+ if (modalScreen !== null) {
180
179
  setClearInputTrigger(prev => prev + 1);
181
180
  }
182
- }, [screen]);
181
+ }, [modalScreen]);
183
182
  // Handle keyboard shortcuts
184
183
  useInput((input, key) => {
185
- // ? to open help (only from chat screen)
186
- if (input === '?' && screen === 'chat' && !isLoading && !modalScreen) {
187
- setModalScreen('help');
188
- return;
189
- }
190
184
  // Ctrl+L to clear chat (F5 doesn't work reliably in all terminals)
191
185
  if (key.ctrl && input === 'l') {
192
186
  if (!isLoading && screen === 'chat') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeep",
3
- "version": "1.0.88",
3
+ "version": "1.0.89",
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",