codeep 1.0.118 → 1.0.119

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 -10
  2. package/package.json +1 -1
package/dist/app.js CHANGED
@@ -163,13 +163,6 @@ export const App = () => {
163
163
  return () => clearTimeout(timer);
164
164
  }
165
165
  }, [notification, notificationDuration]);
166
- // Clear screen when switching to fullscreen views (non-chat screens)
167
- // This ensures fullscreen components render from top, not below existing content
168
- useEffect(() => {
169
- if (screen !== 'chat') {
170
- stdout?.write('\x1b[2J\x1b[H');
171
- }
172
- }, [screen, stdout]);
173
166
  // Handle keyboard shortcuts
174
167
  useInput((input, key) => {
175
168
  // Ctrl+L to clear chat (F5 doesn't work reliably in all terminals)
@@ -1312,10 +1305,10 @@ export const App = () => {
1312
1305
  return (_jsx(ProjectPermission, { projectPath: projectPath, onComplete: handlePermissionComplete }));
1313
1306
  }
1314
1307
  if (screen === 'help') {
1315
- return (_jsxs(Box, { flexDirection: "column", children: [_jsx(Help, {}), _jsx(Text, { children: "Press Escape to close" })] }, "help-screen"));
1308
+ return (_jsxs(Box, { flexDirection: "column", height: stdout?.rows || 24, children: [_jsx(Help, {}), _jsx(Text, { children: "Press Escape to close" })] }, "help-screen"));
1316
1309
  }
1317
1310
  if (screen === 'status') {
1318
- return (_jsxs(Box, { flexDirection: "column", children: [_jsx(Status, {}), _jsx(Text, { children: "Press Escape to close" })] }, "status-screen"));
1311
+ return (_jsxs(Box, { flexDirection: "column", height: stdout?.rows || 24, children: [_jsx(Status, {}), _jsx(Text, { children: "Press Escape to close" })] }, "status-screen"));
1319
1312
  }
1320
1313
  if (screen === 'session-picker') {
1321
1314
  return (_jsx(SessionPicker, { projectPath: projectPath, onSelect: (loadedMessages, sessionName) => {
@@ -1356,7 +1349,7 @@ export const App = () => {
1356
1349
  }, onCancel: () => setScreen('chat') }));
1357
1350
  }
1358
1351
  if (screen === 'settings') {
1359
- return (_jsx(Settings, { onClose: () => setScreen('chat'), notify: notify, hasWriteAccess: hasWriteAccess, hasProjectContext: !!projectContext }));
1352
+ return (_jsx(Box, { flexDirection: "column", height: stdout?.rows || 24, children: _jsx(Settings, { onClose: () => setScreen('chat'), notify: notify, hasWriteAccess: hasWriteAccess, hasProjectContext: !!projectContext }) }, "settings-screen"));
1360
1353
  }
1361
1354
  if (screen === 'search') {
1362
1355
  return (_jsx(Search, { results: searchResults, searchTerm: searchTerm, onClose: () => setScreen('chat'), onSelectMessage: (index) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeep",
3
- "version": "1.0.118",
3
+ "version": "1.0.119",
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",