codeep 2.19.0 → 2.20.0
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 +7 -4
- package/dist/utils/tokenTracker.js +5 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/config/providers.js
CHANGED
|
@@ -18,8 +18,6 @@ export const PROVIDERS = {
|
|
|
18
18
|
},
|
|
19
19
|
},
|
|
20
20
|
models: [
|
|
21
|
-
// GLM-5.3 is Coding-Plan only — the standalone pay-per-use API does not
|
|
22
|
-
// accept it yet, so it must NOT be copied into `z.ai-api`.
|
|
23
21
|
{ id: 'glm-5.3', name: 'GLM-5.3', description: 'Latest flagship for project-scale engineering (1M context)' },
|
|
24
22
|
{ id: 'glm-5.2', name: 'GLM-5.2', description: 'Previous flagship for project-scale engineering (1M context)' },
|
|
25
23
|
{ id: 'glm-5-turbo', name: 'GLM-5 Turbo', description: 'Fast GLM-5 variant, available to all users' },
|
|
@@ -49,10 +47,15 @@ export const PROVIDERS = {
|
|
|
49
47
|
},
|
|
50
48
|
},
|
|
51
49
|
models: [
|
|
52
|
-
|
|
50
|
+
// GLM-5.3 reached the standalone pay-per-use API on 2026-08-19 and is
|
|
51
|
+
// priced on docs.z.ai/guides/overview/pricing. The China platform
|
|
52
|
+
// (`z.ai-cn*`) bills separately and is not covered by that page, so it is
|
|
53
|
+
// left alone until its own listing is checked.
|
|
54
|
+
{ id: 'glm-5.3', name: 'GLM-5.3', description: 'Latest flagship for project-scale engineering (1M context)' },
|
|
55
|
+
{ id: 'glm-5.2', name: 'GLM-5.2', description: 'Previous flagship for project-scale engineering (1M context)' },
|
|
53
56
|
{ id: 'glm-5-turbo', name: 'GLM-5 Turbo', description: 'Fast GLM-5 variant' },
|
|
54
57
|
],
|
|
55
|
-
defaultModel: 'glm-5.
|
|
58
|
+
defaultModel: 'glm-5.3',
|
|
56
59
|
defaultProtocol: 'openai',
|
|
57
60
|
maxOutputTokens: 131_072,
|
|
58
61
|
envKey: 'ZAI_API_KEY',
|
|
@@ -76,9 +76,11 @@ export function getModelContextWindow(model) {
|
|
|
76
76
|
const MODEL_PRICING = {
|
|
77
77
|
// Z.AI / ZhipuAI
|
|
78
78
|
// Coding Plan is flat-fee; these official rates apply to pay-per-use.
|
|
79
|
-
//
|
|
80
|
-
//
|
|
81
|
-
//
|
|
79
|
+
// GLM-5.3 reached the standalone API on 2026-08-19 and is listed at the same
|
|
80
|
+
// rate as GLM-5.2 (docs.z.ai/guides/overview/pricing). Verified there, not
|
|
81
|
+
// inferred from the match — the two being equal today is a coincidence of the
|
|
82
|
+
// price list, not a rule.
|
|
83
|
+
'glm-5.3': { inputPer1M: 1.40, outputPer1M: 4.40 },
|
|
82
84
|
'glm-5.2': { inputPer1M: 1.40, outputPer1M: 4.40 },
|
|
83
85
|
'glm-5.1': { inputPer1M: 1.40, outputPer1M: 4.40 },
|
|
84
86
|
'glm-5-turbo': { inputPer1M: 1.20, outputPer1M: 4.00 },
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.20.0";
|
package/dist/version.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// AUTO-GENERATED by scripts/gen-version.js — do not edit by hand.
|
|
2
2
|
// Baked from package.json at build time so the bun-compiled binary reports
|
|
3
3
|
// the right version (it has no package.json on disk to read at runtime).
|
|
4
|
-
export const VERSION = '2.
|
|
4
|
+
export const VERSION = '2.20.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeep",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.20.0",
|
|
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",
|