codeep 1.1.31 → 1.1.33
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/renderer/App.js +3 -0
- package/dist/utils/history.js +3 -3
- package/package.json +1 -1
package/dist/renderer/App.js
CHANGED
|
@@ -1603,6 +1603,9 @@ export class App {
|
|
|
1603
1603
|
else if (this.confirmOpen && this.confirmOptions) {
|
|
1604
1604
|
bottomPanelHeight = this.confirmOptions.message.length + 5; // title + messages + buttons + padding
|
|
1605
1605
|
}
|
|
1606
|
+
else if (this.statusOpen) {
|
|
1607
|
+
bottomPanelHeight = 16; // Status info panel
|
|
1608
|
+
}
|
|
1606
1609
|
else if (this.helpOpen) {
|
|
1607
1610
|
bottomPanelHeight = Math.min(height - 6, 20); // Help takes more space
|
|
1608
1611
|
}
|
package/dist/utils/history.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Agent action history for undo/rollback functionality
|
|
3
3
|
*/
|
|
4
|
-
import { existsSync, readFileSync, writeFileSync, unlinkSync, mkdirSync, rmSync, statSync } from 'fs';
|
|
4
|
+
import { existsSync, readFileSync, writeFileSync, unlinkSync, mkdirSync, rmSync, statSync, readdirSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
import { homedir } from 'os';
|
|
7
7
|
// In-memory current session
|
|
@@ -274,7 +274,7 @@ export function undoAllActions() {
|
|
|
274
274
|
export function getRecentSessions(limit = 10) {
|
|
275
275
|
ensureHistoryDir();
|
|
276
276
|
try {
|
|
277
|
-
const files =
|
|
277
|
+
const files = readdirSync(HISTORY_DIR)
|
|
278
278
|
.filter((f) => f.endsWith('.json'))
|
|
279
279
|
.sort()
|
|
280
280
|
.reverse()
|
|
@@ -337,7 +337,7 @@ export function formatSession(session) {
|
|
|
337
337
|
export function clearHistory() {
|
|
338
338
|
ensureHistoryDir();
|
|
339
339
|
try {
|
|
340
|
-
const files =
|
|
340
|
+
const files = readdirSync(HISTORY_DIR);
|
|
341
341
|
for (const f of files) {
|
|
342
342
|
unlinkSync(join(HISTORY_DIR, f));
|
|
343
343
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeep",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.33",
|
|
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",
|