codeep 1.0.76 → 1.0.77

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 +8 -0
  2. package/package.json +1 -1
package/dist/app.js CHANGED
@@ -163,6 +163,12 @@ export const App = () => {
163
163
  return () => clearTimeout(timer);
164
164
  }
165
165
  }, [notification, notificationDuration]);
166
+ // Clear terminal when opening modals
167
+ useEffect(() => {
168
+ if (screen !== 'chat' && screen !== 'login') {
169
+ stdout?.write('\x1b[2J\x1b[H');
170
+ }
171
+ }, [screen, stdout]);
166
172
  // Handle keyboard shortcuts
167
173
  useInput((input, key) => {
168
174
  // Ctrl+L to clear chat (F5 doesn't work reliably in all terminals)
@@ -172,6 +178,8 @@ export const App = () => {
172
178
  stdout?.write('\x1b[2J\x1b[H');
173
179
  setMessages([]);
174
180
  clearCodeBlocks();
181
+ setAgentResult(null);
182
+ setAgentActions([]);
175
183
  const newSessId = startNewSession();
176
184
  setSessionId(newSessId);
177
185
  setClearInputTrigger(prev => prev + 1); // Trigger input clear
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeep",
3
- "version": "1.0.76",
3
+ "version": "1.0.77",
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",