codeep 1.2.3 → 1.2.5
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.
|
@@ -51,6 +51,9 @@ export const helpCategories = [
|
|
|
51
51
|
{ key: '/git-commit <msg>', description: 'Commit with message' },
|
|
52
52
|
{ key: '/push (/p)', description: 'Git push' },
|
|
53
53
|
{ key: '/pull', description: 'Git pull' },
|
|
54
|
+
{ key: '/amend', description: 'Amend last commit' },
|
|
55
|
+
{ key: '/branch', description: 'Create/manage branches' },
|
|
56
|
+
{ key: '/stash', description: 'Stash changes' },
|
|
54
57
|
{ key: '/scan', description: 'Scan project structure' },
|
|
55
58
|
{ key: '/review', description: 'Code review' },
|
|
56
59
|
],
|
package/dist/renderer/main.js
CHANGED
|
@@ -11,7 +11,7 @@ import { renderPermissionScreen, getPermissionOptions } from './components/Permi
|
|
|
11
11
|
// Intro animation is now handled by App.startIntro()
|
|
12
12
|
import { chat, setProjectContext } from '../api/index.js';
|
|
13
13
|
import { runAgent } from '../utils/agent.js';
|
|
14
|
-
import { config, loadApiKey, loadAllApiKeys, getCurrentProvider, getModelsForCurrentProvider, PROTOCOLS, LANGUAGES, setProvider, setApiKey, clearApiKey, autoSaveSession, saveSession, startNewSession, getCurrentSessionId, loadSession, listSessionsWithInfo, deleteSession, renameSession, hasReadPermission, hasWritePermission, setProjectPermission, initializeAsProject, isManuallyInitializedProject, } from '../config/index.js';
|
|
14
|
+
import { config, loadApiKey, loadAllApiKeys, getCurrentProvider, getModelsForCurrentProvider, PROTOCOLS, LANGUAGES, setProvider, setApiKey, clearApiKey, getApiKey, autoSaveSession, saveSession, startNewSession, getCurrentSessionId, loadSession, listSessionsWithInfo, deleteSession, renameSession, hasReadPermission, hasWritePermission, setProjectPermission, initializeAsProject, isManuallyInitializedProject, } from '../config/index.js';
|
|
15
15
|
import { isProjectDirectory, getProjectContext } from '../utils/project.js';
|
|
16
16
|
import { getCurrentVersion } from '../utils/update.js';
|
|
17
17
|
import { getProviderList } from '../config/providers.js';
|
|
@@ -40,7 +40,7 @@ function getStatus() {
|
|
|
40
40
|
projectPath,
|
|
41
41
|
hasWriteAccess,
|
|
42
42
|
sessionId,
|
|
43
|
-
messageCount:
|
|
43
|
+
messageCount: app ? app.getMessages().length : 0,
|
|
44
44
|
tokenStats: {
|
|
45
45
|
totalTokens: stats.totalTokens,
|
|
46
46
|
promptTokens: stats.totalPromptTokens,
|
|
@@ -938,16 +938,7 @@ function handleCommand(command, args) {
|
|
|
938
938
|
const providers = getProviderList();
|
|
939
939
|
const currentProvider = getCurrentProvider();
|
|
940
940
|
const configuredProviders = providers
|
|
941
|
-
.filter(p =>
|
|
942
|
-
// Check if provider has an API key configured
|
|
943
|
-
try {
|
|
944
|
-
const key = config.get(`apiKey_${p.id}`) || config.get('apiKey');
|
|
945
|
-
return !!key;
|
|
946
|
-
}
|
|
947
|
-
catch {
|
|
948
|
-
return false;
|
|
949
|
-
}
|
|
950
|
-
})
|
|
941
|
+
.filter(p => !!getApiKey(p.id))
|
|
951
942
|
.map(p => ({
|
|
952
943
|
id: p.id,
|
|
953
944
|
name: p.name,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeep",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
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",
|