@tencent-ai/codebuddy-code 2.34.0 → 2.34.1-next.92447a6.20260115

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
@@ -51,4 +51,5 @@ export * from './feedback-survey';
51
51
  export * from './output-style';
52
52
  export * from './undo-redo';
53
53
  export * from './prompt-suggestion';
54
+ export * from './structured-output';
54
55
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencent-ai/codebuddy-code",
3
- "version": "2.34.0",
3
+ "version": "2.34.1-next.92447a6.20260115",
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",
@@ -29,7 +29,8 @@
29
29
  "url": "https://cnb.cool/codebuddy/codebuddy-code/-/issues"
30
30
  },
31
31
  "publishConfig": {
32
- "access": "public"
32
+ "access": "public",
33
+ "tag": "next"
33
34
  },
34
35
  "scripts": {},
35
36
  "devDependencies": {},
@@ -39,7 +39,8 @@
39
39
  "SlashCommand",
40
40
  "Skill",
41
41
  "AskUserQuestion",
42
- "LSP"
42
+ "LSP",
43
+ "StructuredOutput"
43
44
  ],
44
45
  "tags": [
45
46
  "cli",
@@ -316,6 +317,6 @@
316
317
  "BillingNotice": false,
317
318
  "CustomModelsJSON": true
318
319
  },
319
- "commit": "03dfa8482bf24abc92075fd676c34bd515b80024",
320
- "date": "2026-01-14T15:47:07.564Z"
320
+ "commit": "92447a653a1fc86aa464d914e2b04086837bf7ec",
321
+ "date": "2026-01-15T10:07:43.326Z"
321
322
  }
@@ -41,7 +41,8 @@
41
41
  "SlashCommand",
42
42
  "Skill",
43
43
  "AskUserQuestion",
44
- "LSP"
44
+ "LSP",
45
+ "StructuredOutput"
45
46
  ],
46
47
  "tags": [
47
48
  "cli",
@@ -318,6 +319,6 @@
318
319
  "BillingNotice": false,
319
320
  "CustomModelsJSON": true
320
321
  },
321
- "commit": "03dfa8482bf24abc92075fd676c34bd515b80024",
322
- "date": "2026-01-14T15:47:04.845Z"
322
+ "commit": "92447a653a1fc86aa464d914e2b04086837bf7ec",
323
+ "date": "2026-01-15T10:07:40.701Z"
323
324
  }
package/product.ioa.json CHANGED
@@ -7,13 +7,14 @@
7
7
  "instructions": "cli-agent-prompt",
8
8
  "description": "cli agent",
9
9
  "models": [
10
- "claude-4.5",
10
+ "claude-sonnet-4.5",
11
11
  "claude-opus-4.5",
12
12
  "claude-haiku-4.5",
13
13
  "gemini-3.0-pro",
14
14
  "gemini-3.0-flash",
15
15
  "gemini-2.5-pro",
16
16
  "gpt-5.2",
17
+ "gpt-5.2-codex",
17
18
  "gpt-5.1",
18
19
  "gpt-5.1-codex",
19
20
  "gpt-5.1-codex-max",
@@ -50,7 +51,8 @@
50
51
  "SlashCommand",
51
52
  "Skill",
52
53
  "AskUserQuestion",
53
- "LSP"
54
+ "LSP",
55
+ "StructuredOutput"
54
56
  ],
55
57
  "tags": [
56
58
  "cli",
@@ -279,23 +281,10 @@
279
281
  "supportsReasoning": true,
280
282
  "temperature": 1
281
283
  },
282
- {
283
- "credits": "x2.00 credits",
284
- "id": "claude-4.0",
285
- "name": "Claude-4.0-Sonnet",
286
- "vendor": "e",
287
- "maxOutputTokens": 24000,
288
- "maxInputTokens": 176000,
289
- "supportsToolCall": true,
290
- "supportsImages": true,
291
- "maxAllowedSize": 80000,
292
- "supportsReasoning": true,
293
- "isDefault": true
294
- },
295
284
  {
296
285
  "credits": "x3.33 credits",
297
286
  "id": "claude-opus-4.5",
298
- "name": "Claude-4.5-Opus",
287
+ "name": "Claude-Opus-4.5",
299
288
  "vendor": "e",
300
289
  "maxOutputTokens": 24000,
301
290
  "maxInputTokens": 176000,
@@ -306,8 +295,8 @@
306
295
  },
307
296
  {
308
297
  "credits": "x2.20 credits",
309
- "id": "claude-4.5",
310
- "name": "Claude-4.5-Sonnet",
298
+ "id": "claude-sonnet-4.5",
299
+ "name": "Claude-Sonnet-4.5",
311
300
  "vendor": "e",
312
301
  "maxOutputTokens": 24000,
313
302
  "maxInputTokens": 176000,
@@ -319,7 +308,7 @@
319
308
  {
320
309
  "credits": "x0.67 credits",
321
310
  "id": "claude-haiku-4.5",
322
- "name": "Claude-4.5-Haiku",
311
+ "name": "Claude-Haiku-4.5",
323
312
  "vendor": "e",
324
313
  "maxOutputTokens": 24000,
325
314
  "maxInputTokens": 176000,
@@ -346,6 +335,21 @@
346
335
  "summary": "auto"
347
336
  }
348
337
  },
338
+ {
339
+ "credits": "x1.33 credits",
340
+ "id": "gpt-5.2-codex",
341
+ "name": "GPT-5.2-Codex",
342
+ "vendor": "e",
343
+ "maxInputTokens": 272000,
344
+ "maxOutputTokens": 128000,
345
+ "supportsToolCall": true,
346
+ "supportsImages": true,
347
+ "supportsReasoning": true,
348
+ "reseaning": {
349
+ "effort": "medium",
350
+ "summary": "auto"
351
+ }
352
+ },
349
353
  {
350
354
  "credits": "x0.95 credits",
351
355
  "id": "gpt-5.1",
@@ -525,6 +529,6 @@
525
529
  "BillingNotice": false,
526
530
  "CustomModelsJSON": true
527
531
  },
528
- "commit": "03dfa8482bf24abc92075fd676c34bd515b80024",
529
- "date": "2026-01-14T15:47:06.184Z"
532
+ "commit": "92447a653a1fc86aa464d914e2b04086837bf7ec",
533
+ "date": "2026-01-15T10:07:41.990Z"
530
534
  }
package/product.json CHANGED
@@ -145,6 +145,21 @@
145
145
  "summary": "auto"
146
146
  }
147
147
  },
148
+ {
149
+ "credits": "x1.33 credits",
150
+ "id": "gpt-5.2-codex",
151
+ "name": "GPT-5.2-Codex",
152
+ "vendor": "e",
153
+ "maxInputTokens": 272000,
154
+ "maxOutputTokens": 128000,
155
+ "supportsToolCall": true,
156
+ "supportsImages": true,
157
+ "supportsReasoning": true,
158
+ "reseaning": {
159
+ "effort": "medium",
160
+ "summary": "auto"
161
+ }
162
+ },
148
163
  {
149
164
  "credits": "x0.95 credits",
150
165
  "id": "gpt-5.1",
@@ -528,6 +543,10 @@
528
543
  "name": "tool-lsp-description",
529
544
  "template": "Interact with Language Server Protocol (LSP) servers to get code intelligence features.\n\nSupported operations:\n- goToDefinition: Find where a symbol is defined\n- findReferences: Find all references to a symbol\n- hover: Get hover information (documentation, type info) for a symbol\n- documentSymbol: Get all symbols (functions, classes, variables) in a document\n- workspaceSymbol: Search for symbols across the entire workspace\n- goToImplementation: Find implementations of an interface or abstract method\n- prepareCallHierarchy: Get call hierarchy item at a position (functions/methods)\n- incomingCalls: Find all functions/methods that call the function at a position\n- outgoingCalls: Find all functions/methods called by the function at a position\n\nAll operations require:\n- filePath: The file to operate on\n- line: The line number (1-based, as shown in editors)\n- character: The character offset (1-based, as shown in editors)\n\nNote: LSP servers must be configured for the file type. If no server is available, an error will be returned.\n"
530
545
  },
546
+ {
547
+ "name": "tool-structuredoutput-description",
548
+ "template": "Use this tool to return your final response in the requested structured format. You MUST call this tool exactly once at the end of your response to provide the structured output.\n"
549
+ },
531
550
  {
532
551
  "name": "output-style-explanatory",
533
552
  "template": "# Output Style: Explanatory\nIn addition to software engineering tasks, you should provide educational insights about codebase along the way. You should be clear and educational, providing helpful explanations while remaining focused on the task. Balance educational content with task completion. When providing insights, you may exceed typical length constraints, but remain focused and relevant.\n\n# Explanatory Style Active\n\n## Insights\nIn order to encourage learning, before and after writing code, always provide brief educational explanations about implementation choices using (with backticks):\n\"`★ Insight ─────────────────────────────────────` [2-3 key educational points] `─────────────────────────────────────────────────`\"\n\nThese insights should be included in the conversation, not in codebase. You should generally focus on interesting insights that are specific to codebase or code you just wrote, rather than general programming concepts."
@@ -591,6 +610,7 @@
591
610
  "gemini-2.5-pro",
592
611
  "gemini-2.5-flash",
593
612
  "gpt-5.2",
613
+ "gpt-5.2-codex",
594
614
  "gpt-5.1",
595
615
  "gpt-5.1-codex",
596
616
  "gpt-5.1-codex-max",
@@ -623,7 +643,8 @@
623
643
  "SlashCommand",
624
644
  "Skill",
625
645
  "AskUserQuestion",
626
- "LSP"
646
+ "LSP",
647
+ "StructuredOutput"
627
648
  ],
628
649
  "tags": [
629
650
  "cli",
@@ -890,7 +911,7 @@
890
911
  },
891
912
  "builtInSubagents": [
892
913
  {
893
- "content": "---\nname: code-explorer\ndescription: Subagent used whenever the task requires searching across multiple files, directories, or patterns, or when the scope of code exploration is too large for a single read_file or search_file call. This agent should be invoked for any non-trivial repository exploration.\ntools: search_file, search_content, read_file, list_files, read_lints\nagentMode: agentic\nenabled: true\nenabledAutoRun: true\n---\nYou are a file search specialist for Agent. You excel at thoroughly navigating and exploring codebases.\n\nYour strengths:\n\n* Rapidly finding files using **search_file** patterns\n* Searching code and text with powerful **search_content** regex patterns\n* Reading and analyzing file contents with **read_file**\n* Using **list_files** for listing directory contents (read-only)\n\nGuidelines:\n\n* Use **search_file** for broad file pattern matching\n* Use **search_content** for searching file contents with regex\n* Use **read_file** when you know the specific file path you need to read\n* Use **list_files** for listing directory contents\n* Adapt your search approach based on the thoroughness level specified by the caller\n* Return file paths as absolute paths in your final response\n* For clear communication, avoid using emojis\n* Do not create any files, or run bash commands that modify the user's system state in any way\n\nComplete the user's search request efficiently and report your findings clearly.\n\nNote:By default, invoke tools in parallel, not sequentially. When unsure, lean toward more parallel calls to maximize efficiency.",
914
+ "content": "---\nname: code-explorer\ndescription: Subagent used whenever the task requires searching across multiple files, directories, or patterns, or when the scope of code exploration is too large for a single read_file or search_file call. This agent should be invoked for any non-trivial repository exploration.\ntools: search_file, search_content, read_file, list_files, read_lints, codebase_search\nagentMode: agentic\nenabled: true\nenabledAutoRun: true\n---\nYou are a file search specialist for Agent. You excel at thoroughly navigating and exploring codebases.\n\nYour strengths:\n\n* Rapidly finding files using **search_file** patterns\n* Searching code and text with powerful **search_content** regex patterns\n* Reading and analyzing file contents with **read_file**\n* Using **list_files** for listing directory contents (read-only)\n\nGuidelines:\n\n* Use **search_file** for broad file pattern matching\n* Use **search_content** for searching file contents with regex\n* Use **read_file** when you know the specific file path you need to read\n* Use **list_files** for listing directory contents\n* Adapt your search approach based on the thoroughness level specified by the caller\n* Return file paths as absolute paths in your final response\n* For clear communication, avoid using emojis\n* Do not create any files, or run bash commands that modify the user's system state in any way\n\nComplete the user's search request efficiently and report your findings clearly.\n\nNote:By default, invoke tools in parallel, not sequentially. When unsure, lean toward more parallel calls to maximize efficiency.",
894
915
  "systemPrompt": "<code-explorer_subagent_usage>\nYou have `Task` tool to invoke the code-explorer subagent.\nUse it whenever a task requires broad codebase exploration rather than reading a few specific files.\nIt bundles tools like search_file, search_content, read_file, and list_files, making large-scale searches more efficient.\nUse code-explorer when:\n- You need to understand the structure of the codebase or folders.\n- Identifying modules, packages, or subprojects.\n- Finding where a feature, concept, or behavior is implemented.\n- Gathering information spread across many files.\n- Forming a high-level view of how the project is organized.\nSearches done via the subagent do not enter main-agent context, greatly reducing context size and token usage.\n</code-explorer_subagent_usage>",
895
916
  "toolPrompt": ""
896
917
  }
@@ -899,6 +920,7 @@
899
920
  "craft",
900
921
  "ask",
901
922
  "plan",
923
+ "debug",
902
924
  "code-explorer"
903
925
  ],
904
926
  "builtInMarketplaces": {
@@ -1015,8 +1037,12 @@
1015
1037
  {
1016
1038
  "name": "LSP",
1017
1039
  "description": "tool-lsp-description"
1040
+ },
1041
+ {
1042
+ "name": "StructuredOutput",
1043
+ "description": "tool-structuredoutput-description"
1018
1044
  }
1019
1045
  ],
1020
- "commit": "03dfa8482bf24abc92075fd676c34bd515b80024",
1021
- "date": "2026-01-14T15:47:03.476Z"
1046
+ "commit": "92447a653a1fc86aa464d914e2b04086837bf7ec",
1047
+ "date": "2026-01-15T10:07:39.432Z"
1022
1048
  }
@@ -33,7 +33,8 @@
33
33
  "SlashCommand",
34
34
  "Skill",
35
35
  "AskUserQuestion",
36
- "Lsp"
36
+ "Lsp",
37
+ "StructuredOutput"
37
38
  ],
38
39
  "tags": [
39
40
  "cli",
@@ -198,6 +199,6 @@
198
199
  "BillingNotice": false,
199
200
  "CustomModelsJSON": true
200
201
  },
201
- "commit": "03dfa8482bf24abc92075fd676c34bd515b80024",
202
- "date": "2026-01-14T15:47:08.885Z"
202
+ "commit": "92447a653a1fc86aa464d914e2b04086837bf7ec",
203
+ "date": "2026-01-15T10:07:44.624Z"
203
204
  }