@tencent-ai/codebuddy-code 0.0.1-beta.9 → 1.0.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/lib/node/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import './process';
2
2
  export * from './ui';
3
+ export * from './product';
3
4
  export * from './runtime';
4
5
  export * from './tools';
5
6
  export * from './authentication';
@@ -18,6 +19,10 @@ export * from './git';
18
19
  export * from './memory';
19
20
  export * from './trace';
20
21
  export * from './settings';
22
+ export * from './mcp';
21
23
  export * from './update';
22
24
  export * from './client';
25
+ export * from './shortcut';
26
+ export * from './navigation';
27
+ export * from './telemetry';
23
28
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencent-ai/codebuddy-code",
3
- "version": "0.0.1-beta.9",
3
+ "version": "1.0.0",
4
4
  "description": "Use CodeBuddy, Tencent's AI assistant, right from your terminal. CodeBuddy can understand your codebase, edit files, run terminal commands, and handle entire workflows for you.",
5
5
  "main": "lib/node/index.js",
6
6
  "typings": "lib/node/index.d.ts",
@@ -18,8 +18,15 @@
18
18
  "files": [
19
19
  "dist",
20
20
  "bin",
21
- "product.json"
21
+ "CHANGELOG.md",
22
+ "product.json",
23
+ "product.internal.json",
24
+ "product.ioa.json"
22
25
  ],
26
+ "homepage": "https://cnb.cool/codebuddy/codebuddy-code",
27
+ "bugs": {
28
+ "url": "https://cnb.cool/codebuddy/codebuddy-code/-/issues"
29
+ },
23
30
  "publishConfig": {
24
31
  "access": "public"
25
32
  },
@@ -0,0 +1,228 @@
1
+ {
2
+ "endpoint": "https://copilot.tencent.com",
3
+ "agents": [
4
+ {
5
+ "name": "cli",
6
+ "instructions": "cli-agent-prompt",
7
+ "description": "cli agent",
8
+ "models": [
9
+ "deepseek-v3-0324-lkeap"
10
+ ],
11
+ "commands": [
12
+ "init",
13
+ "compact"
14
+ ],
15
+ "tools": [
16
+ "Read",
17
+ "LS",
18
+ "Write",
19
+ "Edit",
20
+ "MultiEdit",
21
+ "Bash",
22
+ "Glob",
23
+ "Grep",
24
+ "TodoWrite",
25
+ "SaveMemory",
26
+ "WebFetch",
27
+ "WebSearch",
28
+ "NotebookRead",
29
+ "NotebookEdit",
30
+ "NotebookWrite",
31
+ "Task"
32
+ ],
33
+ "tags": [
34
+ "cli",
35
+ "default"
36
+ ]
37
+ },
38
+ {
39
+ "name": "task",
40
+ "instructions": "cli-agent-prompt",
41
+ "description": "task agent",
42
+ "tools": [
43
+ "Read",
44
+ "LS",
45
+ "Write",
46
+ "Edit",
47
+ "MultiEdit",
48
+ "Bash",
49
+ "Glob",
50
+ "Grep",
51
+ "TodoWrite",
52
+ "SaveMemory",
53
+ "WebFetch",
54
+ "WebSearch",
55
+ "NotebookRead",
56
+ "NotebookEdit",
57
+ "NotebookWrite"
58
+ ],
59
+ "tags": [
60
+ "cli",
61
+ "task"
62
+ ]
63
+ },
64
+ {
65
+ "name": "compact",
66
+ "instructions": "compact-agent-prompt",
67
+ "description": "compact agent",
68
+ "tools": [
69
+ "Read",
70
+ "LS",
71
+ "Write",
72
+ "Edit",
73
+ "MultiEdit",
74
+ "Bash",
75
+ "Glob",
76
+ "Grep",
77
+ "TodoWrite",
78
+ "SaveMemory",
79
+ "WebFetch",
80
+ "WebSearch",
81
+ "NotebookRead",
82
+ "NotebookEdit",
83
+ "NotebookWrite",
84
+ "Task"
85
+ ],
86
+ "tags": [
87
+ "cli",
88
+ "compact"
89
+ ]
90
+ },
91
+ {
92
+ "name": "contentAnalyzer",
93
+ "instructions": "content-analyzer-agent-instructions",
94
+ "description": "content analyzer agent",
95
+ "tags": [
96
+ "cli",
97
+ "content-analyzer"
98
+ ]
99
+ }
100
+ ],
101
+ "models": [
102
+ {
103
+ "id": "default",
104
+ "name": "default",
105
+ "vendor": "v",
106
+ "maxOutputTokens": 8192,
107
+ "maxInputTokens": 64000,
108
+ "supportsToolCall": true,
109
+ "supportsImages": false,
110
+ "maxAllowedSize": 56000,
111
+ "isDefault": true
112
+ },
113
+ {
114
+ "id": "deepseek-v3-1",
115
+ "name": "DeepSeek-V3.1",
116
+ "vendor": "f",
117
+ "maxOutputTokens": 8192,
118
+ "maxInputTokens": 64000,
119
+ "supportsToolCall": true,
120
+ "supportsImages": false,
121
+ "disabledMultimodal": true,
122
+ "maxAllowedSize": 56000
123
+ },
124
+ {
125
+ "id": "deepseek-v3-0324-lkeap",
126
+ "name": "DeepSeek-V3-0324",
127
+ "vendor": "f",
128
+ "maxOutputTokens": 8192,
129
+ "maxInputTokens": 200000,
130
+ "supportsToolCall": true,
131
+ "supportsImages": false,
132
+ "disabledMultimodal": true
133
+ },
134
+ {
135
+ "id": "deepseek-r1-0528-lkeap",
136
+ "name": "DeepSeek-R1-0528",
137
+ "vendor": "f",
138
+ "maxOutputTokens": 8192,
139
+ "maxInputTokens": 200000,
140
+ "supportsToolCall": true,
141
+ "supportsImages": false,
142
+ "disabledMultimodal": true
143
+ },
144
+ {
145
+ "id": "kimi-k2-instruct-taiji",
146
+ "name": "Kimi-K2",
147
+ "vendor": "f",
148
+ "maxOutputTokens": 8192,
149
+ "maxInputTokens": 31000,
150
+ "supportsToolCall": true,
151
+ "supportsImages": false,
152
+ "disabledMultimodal": true
153
+ },
154
+ {
155
+ "id": "completion-gf",
156
+ "name": "completion-gf",
157
+ "vendor": "j",
158
+ "maxOutputTokens": 8192,
159
+ "maxInputTokens": 200000,
160
+ "supportsToolCall": true,
161
+ "supportsImages": false,
162
+ "supportsExtra": true,
163
+ "disabledMultimodal": true
164
+ },
165
+ {
166
+ "id": "hunyuan-chat",
167
+ "name": "Hunyuan-Turbos",
168
+ "vendor": "j",
169
+ "maxOutputTokens": 8192,
170
+ "maxInputTokens": 200000,
171
+ "supportsToolCall": true,
172
+ "supportsImages": false,
173
+ "disabledMultimodal": true
174
+ },
175
+ {
176
+ "id": "default-1.1",
177
+ "name": "Claude-3.7-Sonnet",
178
+ "vendor": "e",
179
+ "maxOutputTokens": 8192,
180
+ "supportsToolCall": true,
181
+ "supportsImages": true
182
+ },
183
+ {
184
+ "id": "hunyuan-3b",
185
+ "name": "hunyuan-3b",
186
+ "vendor": "tencent",
187
+ "maxOutputTokens": 256,
188
+ "supportsExtra": true
189
+ },
190
+ {
191
+ "id": "hunyuan-7b-dense",
192
+ "name": "hunyuan-7b",
193
+ "vendor": "tencent",
194
+ "maxOutputTokens": 256,
195
+ "supportsExtra": true
196
+ },
197
+ {
198
+ "id": "deepseek-r1-0528",
199
+ "name": "deepseek-r1",
200
+ "vendor": "tencent",
201
+ "maxOutputTokens": 256,
202
+ "supportsExtra": true
203
+ },
204
+ {
205
+ "id": "deepseek-v3-0324-taco-completion",
206
+ "name": "deepseek-v3-0324",
207
+ "vendor": "tencent",
208
+ "maxOutputTokens": 256
209
+ },
210
+ {
211
+ "id": "deepseek-v3-0324",
212
+ "name": "deepseek-v3",
213
+ "vendor": "tencent",
214
+ "maxOutputTokens": 8192
215
+ },
216
+ {
217
+ "id": "default-1.2",
218
+ "name": "Claude-4.0-Sonnet",
219
+ "vendor": "e",
220
+ "maxOutputTokens": 24000,
221
+ "maxInputTokens": 200000,
222
+ "supportsToolCall": true,
223
+ "supportsImages": true
224
+ }
225
+ ],
226
+ "commit": "1a9f588b832cdab8221092c2c0fa222085ba5c28",
227
+ "date": "2025-09-04T17:28:34.694Z"
228
+ }
@@ -0,0 +1,305 @@
1
+ {
2
+ "agents": [
3
+ {
4
+ "name": "cli",
5
+ "instructions": "cli-agent-prompt",
6
+ "description": "cli agent",
7
+ "models": [
8
+ "claude-3.7",
9
+ "claude-4.0",
10
+ "gemini-2.5-flash",
11
+ "gemini-2.5-pro"
12
+ ],
13
+ "commands": [
14
+ "init",
15
+ "compact"
16
+ ],
17
+ "tools": [
18
+ "Read",
19
+ "LS",
20
+ "Write",
21
+ "Edit",
22
+ "MultiEdit",
23
+ "Bash",
24
+ "Glob",
25
+ "Grep",
26
+ "TodoWrite",
27
+ "SaveMemory",
28
+ "WebFetch",
29
+ "WebSearch",
30
+ "NotebookRead",
31
+ "NotebookEdit",
32
+ "NotebookWrite",
33
+ "Task"
34
+ ],
35
+ "tags": [
36
+ "cli",
37
+ "default"
38
+ ]
39
+ },
40
+ {
41
+ "name": "task",
42
+ "instructions": "cli-agent-prompt",
43
+ "description": "task agent",
44
+ "tools": [
45
+ "Read",
46
+ "LS",
47
+ "Write",
48
+ "Edit",
49
+ "MultiEdit",
50
+ "Bash",
51
+ "Glob",
52
+ "Grep",
53
+ "TodoWrite",
54
+ "SaveMemory",
55
+ "WebFetch",
56
+ "WebSearch",
57
+ "NotebookRead",
58
+ "NotebookEdit",
59
+ "NotebookWrite"
60
+ ],
61
+ "tags": [
62
+ "cli",
63
+ "task"
64
+ ]
65
+ },
66
+ {
67
+ "name": "compact",
68
+ "instructions": "compact-agent-prompt",
69
+ "description": "compact agent",
70
+ "tools": [
71
+ "Read",
72
+ "LS",
73
+ "Write",
74
+ "Edit",
75
+ "MultiEdit",
76
+ "Bash",
77
+ "Glob",
78
+ "Grep",
79
+ "TodoWrite",
80
+ "SaveMemory",
81
+ "WebFetch",
82
+ "WebSearch",
83
+ "NotebookRead",
84
+ "NotebookEdit",
85
+ "NotebookWrite",
86
+ "Task"
87
+ ],
88
+ "tags": [
89
+ "cli",
90
+ "compact"
91
+ ]
92
+ },
93
+ {
94
+ "name": "contentAnalyzer",
95
+ "instructions": "content-analyzer-agent-instructions",
96
+ "description": "content analyzer agent",
97
+ "tags": [
98
+ "cli",
99
+ "content-analyzer"
100
+ ]
101
+ }
102
+ ],
103
+ "models": [
104
+ {
105
+ "id": "deepseek-v3-1",
106
+ "name": "DeepSeek-V3.1",
107
+ "vendor": "f",
108
+ "maxOutputTokens": 8192,
109
+ "maxInputTokens": 64000,
110
+ "supportsToolCall": true,
111
+ "supportsImages": false,
112
+ "disabledMultimodal": true,
113
+ "maxAllowedSize": 56000
114
+ },
115
+ {
116
+ "id": "claude-3.7",
117
+ "name": "Claude-3.7-Sonnet",
118
+ "vendor": "e",
119
+ "maxOutputTokens": 8192,
120
+ "maxInputTokens": 200000,
121
+ "supportsToolCall": true,
122
+ "supportsImages": true,
123
+ "maxAllowedSize": 80000
124
+ },
125
+ {
126
+ "id": "claude-4.0",
127
+ "name": "Claude-4.0-Sonnet",
128
+ "vendor": "e",
129
+ "maxOutputTokens": 24000,
130
+ "maxInputTokens": 200000,
131
+ "supportsToolCall": true,
132
+ "supportsImages": true,
133
+ "maxAllowedSize": 80000,
134
+ "isDefault": true
135
+ },
136
+ {
137
+ "id": "gpt-5",
138
+ "name": "GPT-5",
139
+ "vendor": "e",
140
+ "maxOutputTokens": 128000,
141
+ "maxInputTokens": 272000,
142
+ "supportsToolCall": true,
143
+ "supportsImages": true,
144
+ "maxAllowedSize": 80000
145
+ },
146
+ {
147
+ "id": "gpt-5-mini",
148
+ "name": "GPT-5-mini",
149
+ "vendor": "e",
150
+ "maxOutputTokens": 128000,
151
+ "maxInputTokens": 272000,
152
+ "supportsToolCall": true,
153
+ "supportsImages": true,
154
+ "maxAllowedSize": 80000
155
+ },
156
+ {
157
+ "id": "gpt-5-nano",
158
+ "name": "GPT-5-nano",
159
+ "vendor": "e",
160
+ "maxOutputTokens": 128000,
161
+ "maxInputTokens": 272000,
162
+ "supportsToolCall": true,
163
+ "supportsImages": true,
164
+ "maxAllowedSize": 80000
165
+ },
166
+ {
167
+ "id": "o4-mini",
168
+ "name": "GPT-4o-mini",
169
+ "vendor": "e",
170
+ "maxOutputTokens": 32000,
171
+ "maxInputTokens": 200000,
172
+ "supportsToolCall": true,
173
+ "supportsImages": true,
174
+ "maxAllowedSize": 40000
175
+ },
176
+ {
177
+ "id": "deepseek-v3-0324-lkeap",
178
+ "name": "deepseek-v3-0324",
179
+ "vendor": "f",
180
+ "maxOutputTokens": 8192,
181
+ "maxInputTokens": 200000,
182
+ "supportsToolCall": true,
183
+ "supportsImages": false,
184
+ "disabledMultimodal": true
185
+ },
186
+ {
187
+ "id": "deepseek-v3-0324-gf",
188
+ "name": "DeepSeek-V3-0324",
189
+ "vendor": "f",
190
+ "maxOutputTokens": 8192,
191
+ "maxInputTokens": 200000,
192
+ "supportsToolCall": true,
193
+ "supportsImages": false,
194
+ "disabledMultimodal": true
195
+ },
196
+ {
197
+ "id": "deepseek-r1-0528-gf",
198
+ "name": "DeepSeek-R1-0528",
199
+ "vendor": "f",
200
+ "maxOutputTokens": 8192,
201
+ "maxInputTokens": 200000,
202
+ "supportsToolCall": true,
203
+ "supportsImages": false,
204
+ "disabledMultimodal": true
205
+ },
206
+ {
207
+ "id": "completion-gf",
208
+ "name": "completion-gf",
209
+ "vendor": "j",
210
+ "maxOutputTokens": 8192,
211
+ "maxInputTokens": 200000,
212
+ "supportsToolCall": true,
213
+ "supportsImages": false,
214
+ "disabledMultimodal": true,
215
+ "supportsExtra": true
216
+ },
217
+ {
218
+ "id": "hunyuan-chat",
219
+ "name": "Hunyuan-Turbos",
220
+ "vendor": "j",
221
+ "maxOutputTokens": 8192,
222
+ "maxInputTokens": 200000,
223
+ "supportsToolCall": true,
224
+ "supportsImages": false,
225
+ "disabledMultimodal": true
226
+ },
227
+ {
228
+ "id": "deepseek-r1-0528-lkeap",
229
+ "name": "deepseek-r1-0528",
230
+ "vendor": "f",
231
+ "maxOutputTokens": 8192,
232
+ "maxInputTokens": 200000,
233
+ "supportsToolCall": true,
234
+ "supportsImages": false,
235
+ "disabledMultimodal": true
236
+ },
237
+ {
238
+ "id": "hunyuan-3b",
239
+ "name": "hunyuan-3b",
240
+ "vendor": "tencent",
241
+ "maxOutputTokens": 256,
242
+ "supportsExtra": true
243
+ },
244
+ {
245
+ "id": "hunyuan-7b-dense",
246
+ "name": "hunyuan-7b",
247
+ "vendor": "tencent",
248
+ "maxOutputTokens": 256,
249
+ "supportsExtra": true
250
+ },
251
+ {
252
+ "id": "deepseek-r1-0528",
253
+ "name": "deepseek-r1",
254
+ "vendor": "tencent",
255
+ "maxOutputTokens": 256,
256
+ "supportsExtra": true
257
+ },
258
+ {
259
+ "id": "deepseek-v3-0324-taco-completion",
260
+ "name": "deepseek-v3-0324",
261
+ "vendor": "tencent",
262
+ "maxOutputTokens": 256
263
+ },
264
+ {
265
+ "id": "deepseek-v3-0324-taco",
266
+ "name": "deepseek-v3-taco",
267
+ "vendor": "tencent",
268
+ "maxOutputTokens": 8192
269
+ },
270
+ {
271
+ "id": "deepseek-v3-0324",
272
+ "name": "deepseek-v3",
273
+ "vendor": "tencent",
274
+ "maxOutputTokens": 8192
275
+ },
276
+ {
277
+ "id": "default-1.2",
278
+ "name": "Claude-4.0-Sonnet",
279
+ "vendor": "e",
280
+ "maxOutputTokens": 8192,
281
+ "supportsToolCall": true,
282
+ "supportsImages": true
283
+ },
284
+ {
285
+ "id": "gemini-2.5-flash",
286
+ "name": "Gemini-2.5-Flash",
287
+ "maxOutputTokens": 16384,
288
+ "maxInputTokens": 1000000,
289
+ "supportsToolCall": true,
290
+ "supportsImages": true,
291
+ "maxAllowedSize": 80000
292
+ },
293
+ {
294
+ "id": "gemini-2.5-pro",
295
+ "name": "Gemini-2.5-Pro",
296
+ "maxOutputTokens": 16384,
297
+ "maxInputTokens": 1000000,
298
+ "supportsToolCall": true,
299
+ "supportsImages": true,
300
+ "maxAllowedSize": 80000
301
+ }
302
+ ],
303
+ "commit": "1a9f588b832cdab8221092c2c0fa222085ba5c28",
304
+ "date": "2025-09-04T17:28:36.005Z"
305
+ }