@tencent-ai/agent-sdk 0.3.34 → 0.3.37

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.
Files changed (43) hide show
  1. package/cli/CHANGELOG.md +29 -0
  2. package/cli/dist/codebuddy.js +5 -5
  3. package/cli/package.json +1 -1
  4. package/cli/product.cloudhosted.json +28 -21
  5. package/cli/product.internal.json +30 -23
  6. package/cli/product.ioa.json +32 -27
  7. package/cli/product.json +66 -27
  8. package/cli/product.selfhosted.json +26 -21
  9. package/lib/acp/agent.d.ts +15 -1
  10. package/lib/acp/agent.d.ts.map +1 -1
  11. package/lib/acp/agent.js +50 -18
  12. package/lib/acp/agent.js.map +1 -1
  13. package/lib/acp/converter.d.ts +28 -3
  14. package/lib/acp/converter.d.ts.map +1 -1
  15. package/lib/acp/converter.js +114 -8
  16. package/lib/acp/converter.js.map +1 -1
  17. package/lib/acp/index.d.ts +7 -1
  18. package/lib/acp/index.d.ts.map +1 -1
  19. package/lib/acp/index.js +12 -1
  20. package/lib/acp/index.js.map +1 -1
  21. package/lib/acp/server.d.ts +53 -0
  22. package/lib/acp/server.d.ts.map +1 -0
  23. package/lib/acp/server.js +292 -0
  24. package/lib/acp/server.js.map +1 -0
  25. package/lib/acp/session-manager.d.ts +33 -0
  26. package/lib/acp/session-manager.d.ts.map +1 -0
  27. package/lib/acp/session-manager.js +106 -0
  28. package/lib/acp/session-manager.js.map +1 -0
  29. package/lib/acp/session.d.ts +67 -0
  30. package/lib/acp/session.d.ts.map +1 -0
  31. package/lib/acp/session.js +263 -0
  32. package/lib/acp/session.js.map +1 -0
  33. package/lib/index.d.ts +8 -2
  34. package/lib/index.d.ts.map +1 -1
  35. package/lib/index.js +10 -1
  36. package/lib/index.js.map +1 -1
  37. package/lib/session.d.ts +5 -0
  38. package/lib/session.d.ts.map +1 -1
  39. package/lib/session.js +22 -0
  40. package/lib/session.js.map +1 -1
  41. package/lib/types.d.ts +15 -1
  42. package/lib/types.d.ts.map +1 -1
  43. package/package.json +1 -1
package/cli/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencent-ai/codebuddy-code",
3
- "version": "2.42.3",
3
+ "version": "2.44.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",
@@ -30,13 +30,14 @@
30
30
  "Grep",
31
31
  "EnterPlanMode",
32
32
  "ExitPlanMode",
33
- "TodoWrite",
33
+ "TaskCreate",
34
+ "TaskGet",
35
+ "TaskUpdate",
36
+ "TaskList",
34
37
  "WebFetch",
35
38
  "WebSearch",
36
39
  "NotebookEdit",
37
- "BashOutput",
38
- "KillShell",
39
- "SlashCommand",
40
+ "TaskStop",
40
41
  "Skill",
41
42
  "AskUserQuestion",
42
43
  "LSP",
@@ -60,13 +61,14 @@
60
61
  "Bash",
61
62
  "Glob",
62
63
  "Grep",
63
- "TodoWrite",
64
+ "TaskCreate",
65
+ "TaskGet",
66
+ "TaskUpdate",
67
+ "TaskList",
64
68
  "WebFetch",
65
69
  "WebSearch",
66
70
  "NotebookEdit",
67
- "BashOutput",
68
- "KillShell",
69
- "SlashCommand",
71
+ "TaskStop",
70
72
  "Skill",
71
73
  "AskUserQuestion",
72
74
  "LSP"
@@ -147,18 +149,21 @@
147
149
  "name": "Explore",
148
150
  "instructions": "agent-explore-instructions",
149
151
  "description": "Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. \"src/components/**/*.tsx\"), search code for keywords (eg. \"API endpoints\"), or answer questions about the codebase (eg. \"how do API endpoints work?\"). When calling this agent, specify the desired thoroughness level: \"quick\" for basic searches, \"medium\" for moderate exploration, or \"very thorough\" for comprehensive analysis across multiple locations and naming conventions.",
152
+ "models": [
153
+ "lite"
154
+ ],
150
155
  "tools": [
151
156
  "Read",
152
157
  "Bash",
153
158
  "Glob",
154
159
  "Grep",
160
+ "TaskCreate",
161
+ "TaskGet",
162
+ "TaskUpdate",
163
+ "TaskList",
155
164
  "WebFetch",
156
165
  "WebSearch",
157
- "BashOutput",
158
- "KillShell",
159
- "SlashCommand",
160
- "Skill",
161
- "AskUserQuestion"
166
+ "Skill"
162
167
  ],
163
168
  "asTool": true,
164
169
  "tags": [
@@ -175,12 +180,14 @@
175
180
  "Bash",
176
181
  "Glob",
177
182
  "Grep",
178
- "TodoWrite",
183
+ "EnterPlanMode",
184
+ "TaskCreate",
185
+ "TaskGet",
186
+ "TaskUpdate",
187
+ "TaskList",
179
188
  "WebFetch",
180
189
  "WebSearch",
181
- "BashOutput",
182
- "KillShell",
183
- "SlashCommand",
190
+ "TaskStop",
184
191
  "Skill",
185
192
  "AskUserQuestion"
186
193
  ],
@@ -307,7 +314,7 @@
307
314
  "name": "Kimi-K2-Thinking",
308
315
  "vendor": "f",
309
316
  "maxOutputTokens": 32000,
310
- "maxInputTokens": 256000,
317
+ "maxInputTokens": 205000,
311
318
  "supportsToolCall": true,
312
319
  "supportsImages": false,
313
320
  "supportsReasoning": true,
@@ -317,7 +324,7 @@
317
324
  "effort": "medium",
318
325
  "summary": "auto"
319
326
  },
320
- "maxAllowedSize": 256000
327
+ "maxAllowedSize": 205000
321
328
  },
322
329
  {
323
330
  "id": "hunyuan-image-v3.0",
@@ -342,6 +349,6 @@
342
349
  "CustomModelsJSON": true,
343
350
  "ImageGen": true
344
351
  },
345
- "commit": "4261ad4fa958757640802ed6d690cd8925f69076",
346
- "date": "2026-01-31T14:45:43.950Z"
352
+ "commit": "10228f026d6ae28624f739de283a081024b8f76b",
353
+ "date": "2026-02-02T07:36:56.128Z"
347
354
  }
@@ -33,13 +33,14 @@
33
33
  "Grep",
34
34
  "EnterPlanMode",
35
35
  "ExitPlanMode",
36
- "TodoWrite",
36
+ "TaskCreate",
37
+ "TaskGet",
38
+ "TaskUpdate",
39
+ "TaskList",
37
40
  "WebFetch",
38
41
  "WebSearch",
39
42
  "NotebookEdit",
40
- "BashOutput",
41
- "KillShell",
42
- "SlashCommand",
43
+ "TaskStop",
43
44
  "Skill",
44
45
  "AskUserQuestion",
45
46
  "LSP",
@@ -63,13 +64,14 @@
63
64
  "Bash",
64
65
  "Glob",
65
66
  "Grep",
66
- "TodoWrite",
67
+ "TaskCreate",
68
+ "TaskGet",
69
+ "TaskUpdate",
70
+ "TaskList",
67
71
  "WebFetch",
68
72
  "WebSearch",
69
73
  "NotebookEdit",
70
- "BashOutput",
71
- "KillShell",
72
- "SlashCommand",
74
+ "TaskStop",
73
75
  "Skill",
74
76
  "AskUserQuestion",
75
77
  "LSP"
@@ -150,18 +152,21 @@
150
152
  "name": "Explore",
151
153
  "instructions": "agent-explore-instructions",
152
154
  "description": "Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. \"src/components/**/*.tsx\"), search code for keywords (eg. \"API endpoints\"), or answer questions about the codebase (eg. \"how do API endpoints work?\"). When calling this agent, specify the desired thoroughness level: \"quick\" for basic searches, \"medium\" for moderate exploration, or \"very thorough\" for comprehensive analysis across multiple locations and naming conventions.",
155
+ "models": [
156
+ "lite"
157
+ ],
153
158
  "tools": [
154
159
  "Read",
155
160
  "Bash",
156
161
  "Glob",
157
162
  "Grep",
163
+ "TaskCreate",
164
+ "TaskGet",
165
+ "TaskUpdate",
166
+ "TaskList",
158
167
  "WebFetch",
159
168
  "WebSearch",
160
- "BashOutput",
161
- "KillShell",
162
- "SlashCommand",
163
- "Skill",
164
- "AskUserQuestion"
169
+ "Skill"
165
170
  ],
166
171
  "asTool": true,
167
172
  "tags": [
@@ -178,12 +183,14 @@
178
183
  "Bash",
179
184
  "Glob",
180
185
  "Grep",
181
- "TodoWrite",
186
+ "EnterPlanMode",
187
+ "TaskCreate",
188
+ "TaskGet",
189
+ "TaskUpdate",
190
+ "TaskList",
182
191
  "WebFetch",
183
192
  "WebSearch",
184
- "BashOutput",
185
- "KillShell",
186
- "SlashCommand",
193
+ "TaskStop",
187
194
  "Skill",
188
195
  "AskUserQuestion"
189
196
  ],
@@ -310,7 +317,7 @@
310
317
  "name": "Kimi-K2-Thinking",
311
318
  "vendor": "f",
312
319
  "maxOutputTokens": 32000,
313
- "maxInputTokens": 256000,
320
+ "maxInputTokens": 205000,
314
321
  "supportsToolCall": true,
315
322
  "supportsImages": false,
316
323
  "supportsReasoning": true,
@@ -320,7 +327,7 @@
320
327
  "effort": "medium",
321
328
  "summary": "auto"
322
329
  },
323
- "maxAllowedSize": 256000
330
+ "maxAllowedSize": 205000
324
331
  },
325
332
  {
326
333
  "credits": "x0.42 credits",
@@ -328,7 +335,7 @@
328
335
  "name": "Kimi-K2.5",
329
336
  "vendor": "f",
330
337
  "maxOutputTokens": 32000,
331
- "maxInputTokens": 256000,
338
+ "maxInputTokens": 205000,
332
339
  "supportsToolCall": true,
333
340
  "supportsImages": true,
334
341
  "supportsReasoning": true,
@@ -338,7 +345,7 @@
338
345
  "effort": "medium",
339
346
  "summary": "auto"
340
347
  },
341
- "maxAllowedSize": 256000
348
+ "maxAllowedSize": 205000
342
349
  },
343
350
  {
344
351
  "id": "hunyuan-image-v3.0",
@@ -363,6 +370,6 @@
363
370
  "CustomModelsJSON": true,
364
371
  "ImageGen": true
365
372
  },
366
- "commit": "4261ad4fa958757640802ed6d690cd8925f69076",
367
- "date": "2026-01-31T14:45:41.392Z"
373
+ "commit": "10228f026d6ae28624f739de283a081024b8f76b",
374
+ "date": "2026-02-02T07:36:53.459Z"
368
375
  }
@@ -47,13 +47,14 @@
47
47
  "Grep",
48
48
  "EnterPlanMode",
49
49
  "ExitPlanMode",
50
- "TodoWrite",
50
+ "TaskCreate",
51
+ "TaskGet",
52
+ "TaskUpdate",
53
+ "TaskList",
51
54
  "WebFetch",
52
55
  "WebSearch",
53
56
  "NotebookEdit",
54
- "BashOutput",
55
- "KillShell",
56
- "SlashCommand",
57
+ "TaskStop",
57
58
  "Skill",
58
59
  "AskUserQuestion",
59
60
  "LSP",
@@ -77,16 +78,15 @@
77
78
  "Bash",
78
79
  "Glob",
79
80
  "Grep",
80
- "TodoWrite",
81
+ "TaskCreate",
82
+ "TaskGet",
83
+ "TaskUpdate",
84
+ "TaskList",
81
85
  "SaveMemory",
82
86
  "WebFetch",
83
87
  "WebSearch",
84
- "NotebookRead",
85
88
  "NotebookEdit",
86
- "NotebookWrite",
87
- "BashOutput",
88
- "KillShell",
89
- "SlashCommand",
89
+ "TaskStop",
90
90
  "Skill",
91
91
  "AskUserQuestion",
92
92
  "LSP"
@@ -176,18 +176,21 @@
176
176
  "name": "Explore",
177
177
  "instructions": "agent-explore-instructions",
178
178
  "description": "Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. \"src/components/**/*.tsx\"), search code for keywords (eg. \"API endpoints\"), or answer questions about the codebase (eg. \"how do API endpoints work?\"). When calling this agent, specify the desired thoroughness level: \"quick\" for basic searches, \"medium\" for moderate exploration, or \"very thorough\" for comprehensive analysis across multiple locations and naming conventions.",
179
+ "models": [
180
+ "lite"
181
+ ],
179
182
  "tools": [
180
183
  "Read",
181
184
  "Bash",
182
185
  "Glob",
183
186
  "Grep",
187
+ "TaskCreate",
188
+ "TaskGet",
189
+ "TaskUpdate",
190
+ "TaskList",
184
191
  "WebFetch",
185
192
  "WebSearch",
186
- "BashOutput",
187
- "KillShell",
188
- "SlashCommand",
189
- "Skill",
190
- "AskUserQuestion"
193
+ "Skill"
191
194
  ],
192
195
  "asTool": true,
193
196
  "tags": [
@@ -204,12 +207,14 @@
204
207
  "Bash",
205
208
  "Glob",
206
209
  "Grep",
207
- "TodoWrite",
210
+ "EnterPlanMode",
211
+ "TaskCreate",
212
+ "TaskGet",
213
+ "TaskUpdate",
214
+ "TaskList",
208
215
  "WebFetch",
209
216
  "WebSearch",
210
- "BashOutput",
211
- "KillShell",
212
- "SlashCommand",
217
+ "TaskStop",
213
218
  "Skill",
214
219
  "AskUserQuestion"
215
220
  ],
@@ -250,7 +255,7 @@
250
255
  "name": "Kimi-K2-Thinking",
251
256
  "vendor": "f",
252
257
  "maxOutputTokens": 32000,
253
- "maxInputTokens": 256000,
258
+ "maxInputTokens": 205000,
254
259
  "supportsToolCall": true,
255
260
  "supportsImages": false,
256
261
  "supportsReasoning": true,
@@ -260,7 +265,7 @@
260
265
  "effort": "medium",
261
266
  "summary": "auto"
262
267
  },
263
- "maxAllowedSize": 256000
268
+ "maxAllowedSize": 205000
264
269
  },
265
270
  {
266
271
  "credits": "x0.00 credits",
@@ -268,7 +273,7 @@
268
273
  "name": "Kimi-K2.5",
269
274
  "vendor": "f",
270
275
  "maxOutputTokens": 32000,
271
- "maxInputTokens": 256000,
276
+ "maxInputTokens": 205000,
272
277
  "supportsToolCall": true,
273
278
  "supportsImages": true,
274
279
  "supportsReasoning": true,
@@ -278,7 +283,7 @@
278
283
  "effort": "medium",
279
284
  "summary": "auto"
280
285
  },
281
- "maxAllowedSize": 256000
286
+ "maxAllowedSize": 205000
282
287
  },
283
288
  {
284
289
  "credits": "x0.00 credits",
@@ -286,11 +291,11 @@
286
291
  "name": "GLM-4.7",
287
292
  "vendor": "f",
288
293
  "maxOutputTokens": 48000,
289
- "maxInputTokens": 200000,
294
+ "maxInputTokens": 160000,
290
295
  "supportsToolCall": true,
291
296
  "supportsImages": false,
292
297
  "disabledMultimodal": true,
293
- "maxAllowedSize": 200000,
298
+ "maxAllowedSize": 160000,
294
299
  "supportsReasoning": true,
295
300
  "temperature": 1,
296
301
  "relatedModels": {
@@ -531,6 +536,6 @@
531
536
  "CustomModelsJSON": true,
532
537
  "ImageGen": true
533
538
  },
534
- "commit": "4261ad4fa958757640802ed6d690cd8925f69076",
535
- "date": "2026-01-31T14:45:42.673Z"
539
+ "commit": "10228f026d6ae28624f739de283a081024b8f76b",
540
+ "date": "2026-02-02T07:36:54.786Z"
536
541
  }