codeep 2.4.0 → 2.4.1
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/README.md +6 -6
- package/dist/config/providers.js +6 -6
- package/dist/utils/tokenTracker.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,12 +48,12 @@ custom slash commands, lifecycle hooks, checkpoints, `/cost`,
|
|
|
48
48
|
## Features
|
|
49
49
|
|
|
50
50
|
### Multi-Provider Support
|
|
51
|
-
- **Z.AI (ZhipuAI)** — GLM
|
|
52
|
-
- **OpenAI** — GPT
|
|
53
|
-
- **Anthropic** — Claude
|
|
54
|
-
- **DeepSeek** — DeepSeek
|
|
55
|
-
- **Google AI** — Gemini
|
|
56
|
-
- **MiniMax** — MiniMax
|
|
51
|
+
- **Z.AI (ZhipuAI)** — GLM models (Coding Plan & pay-per-use API, international & China)
|
|
52
|
+
- **OpenAI** — GPT models (flagship, Mini, Nano)
|
|
53
|
+
- **Anthropic** — Claude models (Opus, Sonnet, Haiku)
|
|
54
|
+
- **DeepSeek** — DeepSeek models (Pro, Flash)
|
|
55
|
+
- **Google AI** — Gemini models (Pro, Flash)
|
|
56
|
+
- **MiniMax** — MiniMax models (Coding Plan & pay-per-use API, international & China)
|
|
57
57
|
- **Ollama** — Run any model locally or on a remote server, no API key required. Models are fetched dynamically from your Ollama instance.
|
|
58
58
|
- **OpenRouter** — One key, 100+ models from Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, Qwen, xAI and more. Per-call cost reported directly by OpenRouter (matches their dashboard exactly). Use `openrouter/auto` to let OpenRouter pick the best model. Tune routing with `/openrouter prefer|ignore|fallbacks|privacy`.
|
|
59
59
|
- **Custom (OpenAI-compatible)** — Point Codeep at any self-hosted or proxied OpenAI-compatible endpoint (vLLM, LiteLLM, LM Studio, text-generation-webui). Set the base URL in `/settings` → **Custom Base URL** (config key `customBaseUrl`, e.g. `http://host:8000/v1`), then pick your model with `/model` (fetched from the server's `/models`). No API key required unless your endpoint enforces one. The `openai` provider also honors the `OPENAI_BASE_URL` env var for proxies that serve `gpt-*` model names.
|
package/dist/config/providers.js
CHANGED
|
@@ -126,9 +126,9 @@ export const PROVIDERS = {
|
|
|
126
126
|
},
|
|
127
127
|
},
|
|
128
128
|
models: [
|
|
129
|
-
{ id: 'MiniMax-
|
|
129
|
+
{ id: 'MiniMax-M3', name: 'MiniMax M3', description: 'Latest MiniMax model' },
|
|
130
130
|
],
|
|
131
|
-
defaultModel: 'MiniMax-
|
|
131
|
+
defaultModel: 'MiniMax-M3',
|
|
132
132
|
defaultProtocol: 'anthropic',
|
|
133
133
|
envKey: 'MINIMAX_API_KEY',
|
|
134
134
|
subscribeUrl: 'https://platform.minimax.io/subscribe/coding-plan?code=2lWvoWUhrp&source=link',
|
|
@@ -146,9 +146,9 @@ export const PROVIDERS = {
|
|
|
146
146
|
},
|
|
147
147
|
},
|
|
148
148
|
models: [
|
|
149
|
-
{ id: 'MiniMax-
|
|
149
|
+
{ id: 'MiniMax-M3', name: 'MiniMax M3', description: 'Latest MiniMax model' },
|
|
150
150
|
],
|
|
151
|
-
defaultModel: 'MiniMax-
|
|
151
|
+
defaultModel: 'MiniMax-M3',
|
|
152
152
|
defaultProtocol: 'openai',
|
|
153
153
|
envKey: 'MINIMAX_API_KEY',
|
|
154
154
|
subscribeUrl: 'https://platform.minimax.io',
|
|
@@ -171,9 +171,9 @@ export const PROVIDERS = {
|
|
|
171
171
|
},
|
|
172
172
|
},
|
|
173
173
|
models: [
|
|
174
|
-
{ id: 'MiniMax-
|
|
174
|
+
{ id: 'MiniMax-M3', name: 'MiniMax M3', description: 'Latest MiniMax model' },
|
|
175
175
|
],
|
|
176
|
-
defaultModel: 'MiniMax-
|
|
176
|
+
defaultModel: 'MiniMax-M3',
|
|
177
177
|
defaultProtocol: 'anthropic',
|
|
178
178
|
envKey: 'MINIMAX_CN_API_KEY',
|
|
179
179
|
subscribeUrl: 'https://platform.minimaxi.com',
|
|
@@ -29,7 +29,7 @@ const MODEL_CONTEXT_WINDOWS = {
|
|
|
29
29
|
'gemini-3.5-flash': 1_000_000,
|
|
30
30
|
'gemini-3-flash-preview': 1_000_000,
|
|
31
31
|
// MiniMax
|
|
32
|
-
'MiniMax-
|
|
32
|
+
'MiniMax-M3': 524_288,
|
|
33
33
|
};
|
|
34
34
|
const DEFAULT_CONTEXT_WINDOW = 128_000;
|
|
35
35
|
/**
|
|
@@ -65,7 +65,7 @@ const MODEL_PRICING = {
|
|
|
65
65
|
'gemini-3.5-flash': { inputPer1M: 1.50, outputPer1M: 9.00 },
|
|
66
66
|
'gemini-3-flash-preview': { inputPer1M: 0.50, outputPer1M: 3.00 },
|
|
67
67
|
// MiniMax
|
|
68
|
-
'MiniMax-
|
|
68
|
+
'MiniMax-M3': { inputPer1M: 0.60, outputPer1M: 2.40 },
|
|
69
69
|
};
|
|
70
70
|
export function getPricingTable() {
|
|
71
71
|
return Object.entries(MODEL_PRICING).map(([model, p]) => ({ model, ...p }));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeep",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.1",
|
|
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",
|