@tencent-ai/codebuddy-code 2.90.0 → 2.91.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.
@@ -284,16 +284,16 @@ LLM 必须使用包含以下内容的 JSON 响应:
284
284
  ### 事件类型
285
285
 
286
286
  | 事件 | 触发时机 | matcher 字段 | 典型场景 |
287
- | --- | --- | --- | --- |
287
+ | :-- | :-- | :-- | :----- |
288
288
  | `PreToolUse` | 工具执行前 | 支持(工具名) | 校验命令、二次审批、日志记录 |
289
289
  | `PostToolUse` | 工具成功执行后 | 支持 | 自动格式化、补充上下文 |
290
290
  | `Notification` | 权限请求或 60 秒无输入提醒 | 部分支持 | 桌面提示、IM 通知 |
291
291
  | `UserPromptSubmit` | 用户提交消息时<br/>**注:不包括内部命令** | 不支持 | 内容审查、上下文注入 |
292
292
  | `Stop` | 主代理响应结束时 | 不支持 | 要求继续执行、追加提醒 |
293
293
  | `SubagentStop` | 子代理(TaskTool)结束时 | 不支持 | 子任务继续执行或补充说明 |
294
- | `PreCompact` | 执行上下文压缩前 | 支持(`manual`/`auto`) | 保留关键信息、防止压缩 |
295
- | `SessionStart` | 会话创建或恢复时 | 支持(`startup`/`resume`/`clear`/`compact`) | 环境初始化、变量注入 |
296
- | `SessionEnd` | 会话结束时 | 支持(`clear`/`logout`/`prompt_input_exit`/`other`) | 清理资源、持久化日志 |
294
+ | `PreCompact` | 执行上下文压缩前 | 支持<br/>(`manual`<br/>/`auto`) | 保留关键信息、防止压缩 |
295
+ | `SessionStart` | 会话创建或恢复时 | 支持<br/>(`startup`<br/>/`resume`<br/>/`clear`<br/>/`compact`) | 环境初始化、变量注入 |
296
+ | `SessionEnd` | 会话结束时 | 支持<br/>(`clear`<br/>/`logout`<br/>/`prompt_input_exit`<br/>/`other`) | 清理资源、持久化日志 |
297
297
 
298
298
  ### PreToolUse
299
299
 
@@ -289,9 +289,9 @@ The LLM must return JSON:
289
289
  | `UserPromptSubmit` | User message submitted<br/>*(internal commands excluded)* | No | Content review, context injection |
290
290
  | `Stop` | Main agent reply finishes | No | Force continuation, add reminders |
291
291
  | `SubagentStop` | Sub-agent (Task tool) completes | No | Extend or annotate sub-tasks |
292
- | `PreCompact` | Before context compaction | Yes (`manual` / `auto`) | Preserve key info, avoid lossy compression |
293
- | `SessionStart` | Session creation or resume | Yes (`startup` / `resume` / `clear` / `compact`) | Env bootstrap, variable injection |
294
- | `SessionEnd` | Session terminated | Yes (`clear` / `logout` / `prompt_input_exit` / `other`) | Cleanup, log persistence |
292
+ | `PreCompact` | Before context compaction | Yes <br/>(`manual` <br/>/ `auto`) | Preserve key info, avoid lossy compression |
293
+ | `SessionStart` | Session creation or resume | Yes <br/>(`startup` <br/>/ `resume` <br/>/ `clear` <br/>/ `compact`) | Env bootstrap, variable injection |
294
+ | `SessionEnd` | Session terminated | Yes <br/>(`clear` <br/>/ `logout` <br/>/ `prompt_input_exit` <br/>/ `other`) | Cleanup, log persistence |
295
295
 
296
296
  ### PreToolUse
297
297
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencent-ai/codebuddy-code",
3
- "version": "2.90.0",
3
+ "version": "2.91.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",
@@ -5,6 +5,7 @@
5
5
  "instructions": "cli-agent-prompt",
6
6
  "description": "cli agent",
7
7
  "models": [
8
+ "glm-4.7",
8
9
  "glm-4.6",
9
10
  "deepseek-v3-2-volc",
10
11
  "deepseek-v3.1",
@@ -315,6 +316,20 @@
315
316
  "summary": "auto"
316
317
  }
317
318
  },
319
+ {
320
+ "credits": "x0.21 credits",
321
+ "id": "glm-4.7",
322
+ "name": "GLM-4.7",
323
+ "vendor": "f",
324
+ "maxOutputTokens": 48000,
325
+ "maxInputTokens": 200000,
326
+ "supportsToolCall": true,
327
+ "supportsImages": false,
328
+ "disabledMultimodal": true,
329
+ "maxAllowedSize": 200000,
330
+ "supportsReasoning": true,
331
+ "temperature": 1
332
+ },
318
333
  {
319
334
  "credits": "x0.20 credits",
320
335
  "id": "glm-4.6",
@@ -406,6 +421,6 @@
406
421
  "ImageGen": true,
407
422
  "ScheduledTasks": true
408
423
  },
409
- "commit": "b271de3e6affb6fa0aaca8823413ad78ac884178",
410
- "date": "2026-04-16T13:27:25.769Z"
424
+ "commit": "46c7cf170160c55c67ada40dcbd9afc78ad4601b",
425
+ "date": "2026-04-17T13:45:57.089Z"
411
426
  }
@@ -11,6 +11,7 @@
11
11
  "glm-5.0",
12
12
  "glm-5.0-turbo",
13
13
  "glm-5v-turbo",
14
+ "glm-4.7",
14
15
  "minimax-m2.7",
15
16
  "minimax-m2.5",
16
17
  "kimi-k2.5",
@@ -425,6 +426,20 @@
425
426
  "summary": "auto"
426
427
  }
427
428
  },
429
+ {
430
+ "credits": "x0.21 credits",
431
+ "id": "glm-4.7",
432
+ "name": "GLM-4.7",
433
+ "vendor": "f",
434
+ "maxOutputTokens": 48000,
435
+ "maxInputTokens": 200000,
436
+ "supportsToolCall": true,
437
+ "supportsImages": false,
438
+ "disabledMultimodal": true,
439
+ "maxAllowedSize": 200000,
440
+ "supportsReasoning": true,
441
+ "temperature": 1
442
+ },
428
443
  {
429
444
  "credits": "x0.23 credits",
430
445
  "id": "glm-4.6",
@@ -573,6 +588,6 @@
573
588
  }
574
589
  }
575
590
  },
576
- "commit": "b271de3e6affb6fa0aaca8823413ad78ac884178",
577
- "date": "2026-04-16T13:27:25.723Z"
591
+ "commit": "46c7cf170160c55c67ada40dcbd9afc78ad4601b",
592
+ "date": "2026-04-17T13:45:57.115Z"
578
593
  }
package/product.ioa.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "stagingEndpoint": "https://staging-copilot.tencent.com",
4
4
  "defaultRelatedModels": {
5
5
  "lite": "claude-haiku-4.5",
6
- "reasoning": "claude-opus-4.5"
6
+ "reasoning": "claude-opus-4.6"
7
7
  },
8
8
  "agents": [
9
9
  {
@@ -14,6 +14,8 @@
14
14
  "claude-sonnet-4.6",
15
15
  "claude-sonnet-4.6-1m",
16
16
  "claude-4.5",
17
+ "claude-opus-4.7",
18
+ "claude-opus-4.7-1m",
17
19
  "claude-opus-4.6",
18
20
  "claude-opus-4.6-1m",
19
21
  "claude-opus-4.5",
@@ -34,6 +36,7 @@
34
36
  "glm-5.0-turbo-ioa",
35
37
  "glm-5v-turbo-ioa",
36
38
  "glm-5.0-ioa",
39
+ "glm-4.7-ioa",
37
40
  "minimax-m2.7-ioa",
38
41
  "minimax-m2.5-ioa",
39
42
  "kimi-k2.5-ioa",
@@ -537,6 +540,24 @@
537
540
  "reasoning": "glm-4.6v-ioa"
538
541
  }
539
542
  },
543
+ {
544
+ "credits": "x0.00 credits",
545
+ "id": "glm-4.7-ioa",
546
+ "name": "GLM-4.7",
547
+ "vendor": "f",
548
+ "maxOutputTokens": 48000,
549
+ "maxInputTokens": 200000,
550
+ "supportsToolCall": true,
551
+ "supportsImages": false,
552
+ "disabledMultimodal": true,
553
+ "maxAllowedSize": 200000,
554
+ "supportsReasoning": true,
555
+ "temperature": 1,
556
+ "relatedModels": {
557
+ "lite": "glm-4.7-ioa",
558
+ "reasoning": "glm-4.7-ioa"
559
+ }
560
+ },
540
561
  {
541
562
  "credits": "x0.00 credits",
542
563
  "id": "glm-4.6-ioa",
@@ -606,6 +627,31 @@
606
627
  "temperature": 1,
607
628
  "supportsReasoning": true
608
629
  },
630
+ {
631
+ "credits": "x3.33 credits",
632
+ "id": "claude-opus-4.7",
633
+ "name": "Claude-Opus-4.7",
634
+ "vendor": "e",
635
+ "maxOutputTokens": 24000,
636
+ "maxInputTokens": 176000,
637
+ "supportsToolCall": true,
638
+ "supportsImages": true,
639
+ "maxAllowedSize": 80000,
640
+ "supportsReasoning": true
641
+ },
642
+ {
643
+ "credits": "x3.33 credits",
644
+ "id": "claude-opus-4.7-1m",
645
+ "name": "Claude-Opus-4.7-1M",
646
+ "vendor": "e",
647
+ "maxOutputTokens": 24000,
648
+ "maxInputTokens": 1000000,
649
+ "supportsToolCall": true,
650
+ "supportsImages": true,
651
+ "maxAllowedSize": 1000000,
652
+ "temperature": 1,
653
+ "supportsReasoning": true
654
+ },
609
655
  {
610
656
  "credits": "x3.33 credits",
611
657
  "id": "claude-opus-4.6",
@@ -936,6 +982,6 @@
936
982
  }
937
983
  }
938
984
  },
939
- "commit": "b271de3e6affb6fa0aaca8823413ad78ac884178",
940
- "date": "2026-04-16T13:27:25.615Z"
985
+ "commit": "46c7cf170160c55c67ada40dcbd9afc78ad4601b",
986
+ "date": "2026-04-17T13:45:57.033Z"
941
987
  }
package/product.json CHANGED
@@ -1520,6 +1520,6 @@
1520
1520
  "description": "Send a reply to a WeCom (企业微信) user. For text: pass text (markdown supported)."
1521
1521
  }
1522
1522
  ],
1523
- "commit": "b271de3e6affb6fa0aaca8823413ad78ac884178",
1524
- "date": "2026-04-16T13:27:25.559Z"
1523
+ "commit": "46c7cf170160c55c67ada40dcbd9afc78ad4601b",
1524
+ "date": "2026-04-17T13:45:57.125Z"
1525
1525
  }
@@ -310,6 +310,6 @@
310
310
  "DeferToolLoading": true,
311
311
  "ScheduledTasks": true
312
312
  },
313
- "commit": "b271de3e6affb6fa0aaca8823413ad78ac884178",
314
- "date": "2026-04-16T13:27:25.719Z"
313
+ "commit": "46c7cf170160c55c67ada40dcbd9afc78ad4601b",
314
+ "date": "2026-04-17T13:45:57.120Z"
315
315
  }