codeep 2.11.0 → 2.11.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 CHANGED
@@ -346,7 +346,7 @@ Run `/agents` to list them. The agent invokes them itself via the `delegate` too
346
346
  name: migrator
347
347
  description: Writes and runs database migrations
348
348
  tools: [read_file, write_file, edit_file, execute_command] # allowlist; omit = all
349
- model: glm-5.2[1m] # optional override
349
+ model: glm-5.2 # optional override
350
350
  personality: senior-reviewer # optional preset
351
351
  maxIterations: 12 # optional budget
352
352
  ---
@@ -1007,7 +1007,7 @@ After installation, `codeep` is available globally in your terminal. Simply run
1007
1007
  **Model favorites** — save provider+model combos and switch instantly:
1008
1008
  ```
1009
1009
  > /provider # switch to z.ai
1010
- > /model glm-5.2[1m]
1010
+ > /model glm-5.2
1011
1011
  > /profile save fast
1012
1012
 
1013
1013
  > /provider # switch to openai
@@ -143,7 +143,7 @@ function createConfig() {
143
143
  apiKey: '',
144
144
  migrationVersion: 0,
145
145
  provider: 'z.ai',
146
- model: 'glm-5.2[1m]',
146
+ model: 'glm-5.2',
147
147
  agentMode: 'on',
148
148
  ollamaUrl: 'http://localhost:11434',
149
149
  ollamaNativeApi: false,
@@ -18,13 +18,12 @@ export const PROVIDERS = {
18
18
  },
19
19
  },
20
20
  models: [
21
- { id: 'glm-5.2[1m]', name: 'GLM-5.2 (1M)', description: 'Latest GLM model with 1M context, available to all users' },
22
21
  { id: 'glm-5.2', name: 'GLM-5.2', description: 'Latest GLM model, available to all users' },
23
22
  { id: 'glm-5.1', name: 'GLM-5.1', description: 'Previous GLM model, available to all users' },
24
23
  { id: 'glm-5-turbo', name: 'GLM-5 Turbo', description: 'Fast GLM-5 variant, available to all users' },
25
24
  { id: 'glm-5', name: 'GLM-5', description: 'Most capable GLM-5 model (Pro/Max plan only)' },
26
25
  ],
27
- defaultModel: 'glm-5.2[1m]',
26
+ defaultModel: 'glm-5.2',
28
27
  defaultProtocol: 'openai',
29
28
  envKey: 'ZAI_API_KEY',
30
29
  subscribeUrl: 'https://z.ai/subscribe?ic=NXYNXZOV14',
@@ -47,13 +46,12 @@ export const PROVIDERS = {
47
46
  },
48
47
  },
49
48
  models: [
50
- { id: 'glm-5.2[1m]', name: 'GLM-5.2 (1M)', description: 'Latest GLM model with 1M context' },
51
49
  { id: 'glm-5.2', name: 'GLM-5.2', description: 'Latest GLM model' },
52
50
  { id: 'glm-5.1', name: 'GLM-5.1', description: 'Previous GLM model' },
53
51
  { id: 'glm-5-turbo', name: 'GLM-5 Turbo', description: 'Fast GLM-5 variant' },
54
52
  { id: 'glm-5', name: 'GLM-5', description: 'Most capable GLM-5 model' },
55
53
  ],
56
- defaultModel: 'glm-5.2[1m]',
54
+ defaultModel: 'glm-5.2',
57
55
  defaultProtocol: 'openai',
58
56
  envKey: 'ZAI_API_KEY',
59
57
  subscribeUrl: 'https://api.z.ai',
@@ -76,13 +74,12 @@ export const PROVIDERS = {
76
74
  },
77
75
  },
78
76
  models: [
79
- { id: 'glm-5.2[1m]', name: 'GLM-5.2 (1M)', description: 'Latest GLM model with 1M context, available to all users' },
80
77
  { id: 'glm-5.2', name: 'GLM-5.2', description: 'Latest GLM model, available to all users' },
81
78
  { id: 'glm-5.1', name: 'GLM-5.1', description: 'Previous GLM model, available to all users' },
82
79
  { id: 'glm-5-turbo', name: 'GLM-5 Turbo', description: 'Fast GLM-5 variant, available to all users' },
83
80
  { id: 'glm-5', name: 'GLM-5', description: 'Most capable GLM-5 model (Pro/Max plan only)' },
84
81
  ],
85
- defaultModel: 'glm-5.2[1m]',
82
+ defaultModel: 'glm-5.2',
86
83
  defaultProtocol: 'openai',
87
84
  envKey: 'ZAI_CN_API_KEY',
88
85
  subscribeUrl: 'https://open.bigmodel.cn/glm-coding',
@@ -105,13 +102,12 @@ export const PROVIDERS = {
105
102
  },
106
103
  },
107
104
  models: [
108
- { id: 'glm-5.2[1m]', name: 'GLM-5.2 (1M)', description: 'Latest GLM model with 1M context' },
109
105
  { id: 'glm-5.2', name: 'GLM-5.2', description: 'Latest GLM model' },
110
106
  { id: 'glm-5.1', name: 'GLM-5.1', description: 'Previous GLM model' },
111
107
  { id: 'glm-5-turbo', name: 'GLM-5 Turbo', description: 'Fast GLM-5 variant' },
112
108
  { id: 'glm-5', name: 'GLM-5', description: 'Most capable GLM-5 model' },
113
109
  ],
114
- defaultModel: 'glm-5.2[1m]',
110
+ defaultModel: 'glm-5.2',
115
111
  defaultProtocol: 'openai',
116
112
  envKey: 'ZAI_CN_API_KEY',
117
113
  subscribeUrl: 'https://open.bigmodel.cn',
@@ -7,7 +7,6 @@
7
7
  // and produce phantom estimates against the wrong context size.
8
8
  const MODEL_CONTEXT_WINDOWS = {
9
9
  // Z.AI / ZhipuAI
10
- 'glm-5.2[1m]': 1_000_000,
11
10
  'glm-5.2': 200_000,
12
11
  'glm-5.1': 131_072,
13
12
  'glm-5': 80_000,
@@ -48,7 +47,6 @@ const MODEL_PRICING = {
48
47
  // its successor) provisionally so /cost stays sane; update when z.ai posts it.
49
48
  // Note: on the GLM Coding Plan (the default `z.ai` provider) billing is a flat
50
49
  // subscription, so this only affects the pay-per-use estimate.
51
- 'glm-5.2[1m]': { inputPer1M: 1.00, outputPer1M: 3.20 },
52
50
  'glm-5.2': { inputPer1M: 1.00, outputPer1M: 3.20 },
53
51
  'glm-5.1': { inputPer1M: 1.00, outputPer1M: 3.20 },
54
52
  'glm-5': { inputPer1M: 0.72, outputPer1M: 2.30 },
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "2.11.0";
1
+ export declare const VERSION = "2.11.1";
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.11.0';
4
+ export const VERSION = '2.11.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeep",
3
- "version": "2.11.0",
3
+ "version": "2.11.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",