codeep 1.2.33 → 1.2.35
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/config/providers.js
CHANGED
|
@@ -159,14 +159,14 @@ export const PROVIDERS = {
|
|
|
159
159
|
},
|
|
160
160
|
},
|
|
161
161
|
models: [
|
|
162
|
-
{ id: 'gemini-
|
|
163
|
-
{ id: 'gemini-
|
|
164
|
-
{ id: 'gemini-
|
|
165
|
-
{ id: 'gemini-
|
|
166
|
-
{ id: 'gemini-
|
|
167
|
-
{ id: 'gemini-
|
|
162
|
+
{ id: 'gemini-3.1-pro-preview', name: 'Gemini 3.1 Pro Preview', description: 'Most capable Gemini model' },
|
|
163
|
+
{ id: 'gemini-3-pro-preview', name: 'Gemini 3 Pro Preview', description: 'Highly capable, complex tasks' },
|
|
164
|
+
{ id: 'gemini-3-flash-preview', name: 'Gemini 3 Flash Preview', description: 'Fast and capable, general use' },
|
|
165
|
+
{ id: 'gemini-2.5-pro', name: 'Gemini 2.5 Pro', description: 'Strong reasoning and coding' },
|
|
166
|
+
{ id: 'gemini-2.5-flash', name: 'Gemini 2.5 Flash', description: 'Balanced speed and quality' },
|
|
167
|
+
{ id: 'gemini-2.5-flash-lite', name: 'Gemini 2.5 Flash Lite', description: 'Fastest, lowest cost' },
|
|
168
168
|
],
|
|
169
|
-
defaultModel: 'gemini-2.
|
|
169
|
+
defaultModel: 'gemini-2.5-flash',
|
|
170
170
|
defaultProtocol: 'openai',
|
|
171
171
|
envKey: 'GOOGLE_API_KEY',
|
|
172
172
|
subscribeUrl: 'https://aistudio.google.com/apikey',
|
package/dist/renderer/main.js
CHANGED
|
@@ -13,7 +13,7 @@ import { renderPermissionScreen, getPermissionOptions } from './components/Permi
|
|
|
13
13
|
import { chat, setProjectContext } from '../api/index.js';
|
|
14
14
|
import { config, loadApiKey, loadAllApiKeys, getCurrentProvider, autoSaveSession, startNewSession, getCurrentSessionId, loadSession, listSessionsWithInfo, deleteSession, hasReadPermission, hasWritePermission, setProjectPermission, initializeAsProject, isManuallyInitializedProject, setApiKey, setProvider, } from '../config/index.js';
|
|
15
15
|
import { isProjectDirectory, getProjectContext, } from '../utils/project.js';
|
|
16
|
-
import { getCurrentVersion } from '../utils/update.js';
|
|
16
|
+
import { getCurrentVersion, checkForUpdates, getUpdateInstructions } from '../utils/update.js';
|
|
17
17
|
import { getProviderList } from '../config/providers.js';
|
|
18
18
|
import { getSessionStats } from '../utils/tokenTracker.js';
|
|
19
19
|
import { checkApiRateLimit } from '../utils/ratelimit.js';
|
|
@@ -399,6 +399,12 @@ Commands (in chat):
|
|
|
399
399
|
welcomeLines.push('Shortcuts: /help commands • Ctrl+L clear • Esc cancel');
|
|
400
400
|
app.addMessage({ role: 'system', content: welcomeLines.join('\n') });
|
|
401
401
|
app.start();
|
|
402
|
+
// Check for updates in background — show notify if new version available
|
|
403
|
+
checkForUpdates().then(info => {
|
|
404
|
+
if (info.hasUpdate) {
|
|
405
|
+
app.notify(`Update available: v${info.latest} (current: v${info.current})\nRun: ${getUpdateInstructions()}`);
|
|
406
|
+
}
|
|
407
|
+
}).catch(() => { });
|
|
402
408
|
const showIntroAnimation = process.stdout.rows >= 20;
|
|
403
409
|
const showPermissionAndContinue = () => {
|
|
404
410
|
app.showPermission(projectPath, isProject, (permission) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeep",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.35",
|
|
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",
|