@tencent-ai/codebuddy-code 2.2.0-next.d31a17e.20251113 → 2.3.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 './agent';
3
+ export * from './ask';
3
4
  export * from './authentication';
4
5
  export * from './billing';
5
6
  export * from './cli';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencent-ai/codebuddy-code",
3
- "version": "2.2.0-next.d31a17e.20251113",
3
+ "version": "2.3.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",
@@ -29,8 +29,7 @@
29
29
  "url": "https://cnb.cool/codebuddy/codebuddy-code/-/issues"
30
30
  },
31
31
  "publishConfig": {
32
- "access": "public",
33
- "tag": "next"
32
+ "access": "public"
34
33
  },
35
34
  "scripts": {},
36
35
  "devDependencies": {}
@@ -31,7 +31,8 @@
31
31
  "BashOutput",
32
32
  "KillShell",
33
33
  "SlashCommand",
34
- "Skill"
34
+ "Skill",
35
+ "AskUserQuestion"
35
36
  ],
36
37
  "tags": [
37
38
  "cli",
@@ -57,7 +58,8 @@
57
58
  "BashOutput",
58
59
  "KillShell",
59
60
  "SlashCommand",
60
- "Skill"
61
+ "Skill",
62
+ "AskUserQuestion"
61
63
  ],
62
64
  "tags": [
63
65
  "cli",
@@ -121,7 +123,8 @@
121
123
  "BashOutput",
122
124
  "KillShell",
123
125
  "SlashCommand",
124
- "Skill"
126
+ "Skill",
127
+ "AskUserQuestion"
125
128
  ],
126
129
  "asTool": true,
127
130
  "tags": [
@@ -198,6 +201,6 @@
198
201
  "BillingNotice": false,
199
202
  "CustomModelsJSON": true
200
203
  },
201
- "commit": "d31a17ec4a500cd025d3437596d4610b7a09d818",
202
- "date": "2025-11-13T04:05:19.331Z"
204
+ "commit": "6d1af30646383706d8abf8a33653f8bea48313c2",
205
+ "date": "2025-11-13T14:08:59.991Z"
203
206
  }
@@ -33,7 +33,8 @@
33
33
  "BashOutput",
34
34
  "KillShell",
35
35
  "SlashCommand",
36
- "Skill"
36
+ "Skill",
37
+ "AskUserQuestion"
37
38
  ],
38
39
  "tags": [
39
40
  "cli",
@@ -59,7 +60,8 @@
59
60
  "BashOutput",
60
61
  "KillShell",
61
62
  "SlashCommand",
62
- "Skill"
63
+ "Skill",
64
+ "AskUserQuestion"
63
65
  ],
64
66
  "tags": [
65
67
  "cli",
@@ -123,7 +125,8 @@
123
125
  "BashOutput",
124
126
  "KillShell",
125
127
  "SlashCommand",
126
- "Skill"
128
+ "Skill",
129
+ "AskUserQuestion"
127
130
  ],
128
131
  "asTool": true,
129
132
  "tags": [
@@ -200,6 +203,6 @@
200
203
  "BillingNotice": false,
201
204
  "CustomModelsJSON": true
202
205
  },
203
- "commit": "d31a17ec4a500cd025d3437596d4610b7a09d818",
204
- "date": "2025-11-13T04:05:17.102Z"
206
+ "commit": "6d1af30646383706d8abf8a33653f8bea48313c2",
207
+ "date": "2025-11-13T14:08:57.663Z"
205
208
  }
package/product.ioa.json CHANGED
@@ -41,7 +41,8 @@
41
41
  "BashOutput",
42
42
  "KillShell",
43
43
  "SlashCommand",
44
- "Skill"
44
+ "Skill",
45
+ "AskUserQuestion"
45
46
  ],
46
47
  "tags": [
47
48
  "cli",
@@ -70,7 +71,8 @@
70
71
  "BashOutput",
71
72
  "KillShell",
72
73
  "SlashCommand",
73
- "Skill"
74
+ "Skill",
75
+ "AskUserQuestion"
74
76
  ],
75
77
  "tags": [
76
78
  "cli",
@@ -134,7 +136,8 @@
134
136
  "BashOutput",
135
137
  "KillShell",
136
138
  "SlashCommand",
137
- "Skill"
139
+ "Skill",
140
+ "AskUserQuestion"
138
141
  ],
139
142
  "asTool": true,
140
143
  "tags": [
@@ -343,6 +346,6 @@
343
346
  "BillingNotice": false,
344
347
  "CustomModelsJSON": true
345
348
  },
346
- "commit": "d31a17ec4a500cd025d3437596d4610b7a09d818",
347
- "date": "2025-11-13T04:05:18.212Z"
349
+ "commit": "6d1af30646383706d8abf8a33653f8bea48313c2",
350
+ "date": "2025-11-13T14:08:58.756Z"
348
351
  }
package/product.json CHANGED
@@ -68,6 +68,7 @@
68
68
  "helpDocument": "https://cnb.cool/codebuddy/codebuddy-code/-/blob/main/docs",
69
69
  "issueFeedback": "https://cnb.cool/codebuddy/codebuddy-code/-/issues",
70
70
  "ruleDocumentUrl": "https://cloud.tencent.com/document/product/1749/118987",
71
+ "mcpDocumentUrl": "https://cloud.tencent.com/developer/mcp?from=28174&from_column=28174",
71
72
  "officialWebsite": "https://www.codebuddy.ai/cli",
72
73
  "mcpHelpDocument": "https://cnb.cool/codebuddy/codebuddy-code/-/blob/main/docs/mcp.md",
73
74
  "upgradeUrl": "https://www.codebuddy.ai/profile/plan"
@@ -295,7 +296,7 @@
295
296
  },
296
297
  {
297
298
  "name": "tool-ls-description",
298
- "template": "Lists files and directories in a given path. The path parameter must be an absolute path, not a relative path. You can optionally provide an array of glob patterns to ignore with the ignore parameter. You should generally prefer the Glob and Grep tools, if you know which directories to search."
299
+ "template": "Lists files and directories in a given path. The path parameter must be an absolute path, not a relative path. You can optionally provide an array of glob patterns to ignore with the ignore parameter. You should generally prefer the Glob and Grep tools, if you know which directories to search.\n"
299
300
  },
300
301
  {
301
302
  "name": "tool-read-description",
@@ -372,6 +373,10 @@
372
373
  {
373
374
  "name": "agent-explore-instructions",
374
375
  "template": "You are a file search specialist for Terminal Assistant Agent. You excel at thoroughly navigating and exploring codebases.\n\nYour strengths:\n- Rapidly finding files using glob patterns\n- Searching code and text with powerful regex patterns\n- Reading and analyzing file contents\n\nGuidelines:\n- Use Glob for broad file pattern matching\n- Use Grep for searching file contents with regex\n- Use Read when you know the specific file path you need to read\n- Use Bash for file operations like copying, moving, or 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\n\nNotes:\n- Agent threads always have their cwd reset between bash calls, as a result please only use absolute file paths.\n- In your final response always share relevant file names and code snippets. Any file paths you return in your response MUST be absolute. Do NOT use relative paths.\n- For clear communication with the user the assistant MUST avoid using emojis.\n\nHere is useful information about the environment you are running in:\n<env>\nWorking directory: {{workDir}}\nIs directory a git repo: {% if isGitRepo %}Yes{% else %}No{% endif %}\nPlatform: {{platform}}\nOS Version: {{version}}\nToday's date: {{date}}\n</env>\nYou are powered by the model named {{modelName}}. The exact model ID is {{modelId}}.\n"
376
+ },
377
+ {
378
+ "name": "tool-ask-user-question-description",
379
+ "template": "Use this tool when you need to ask the user questions during execution. This allows you to:\n1. Gather user preferences or requirements\n2. Clarify ambiguous instructions\n3. Get decisions on implementation choices as you work\n4. Offer choices to the user about what direction to take.\n\nUsage notes:\n- Users will always be able to select \\\"Other\\\" to provide custom text input\n- Use multiSelect: true to allow multiple answers to be selected for a question\n\n"
375
380
  }
376
381
  ],
377
382
  "variables": [
@@ -450,7 +455,8 @@
450
455
  "BashOutput",
451
456
  "KillShell",
452
457
  "SlashCommand",
453
- "Skill"
458
+ "Skill",
459
+ "AskUserQuestion"
454
460
  ],
455
461
  "tags": [
456
462
  "cli",
@@ -476,7 +482,8 @@
476
482
  "BashOutput",
477
483
  "KillShell",
478
484
  "SlashCommand",
479
- "Skill"
485
+ "Skill",
486
+ "AskUserQuestion"
480
487
  ],
481
488
  "tags": [
482
489
  "cli",
@@ -543,7 +550,8 @@
543
550
  "BashOutput",
544
551
  "KillShell",
545
552
  "SlashCommand",
546
- "Skill"
553
+ "Skill",
554
+ "AskUserQuestion"
547
555
  ],
548
556
  "asTool": true,
549
557
  "tags": [
@@ -618,6 +626,7 @@
618
626
  "NesRangeFix": false,
619
627
  "NesCompletionsJumpToHere": true,
620
628
  "ImportMetadataForCompletions": true,
629
+ "CompletionItemsForCompletions": true,
621
630
  "BillingNotice": true,
622
631
  "CustomModelsJSON": true
623
632
  },
@@ -710,8 +719,12 @@
710
719
  {
711
720
  "name": "Skill",
712
721
  "description": "tool-skill-description"
722
+ },
723
+ {
724
+ "name": "AskUserQuestion",
725
+ "description": "tool-ask-user-question-description"
713
726
  }
714
727
  ],
715
- "commit": "d31a17ec4a500cd025d3437596d4610b7a09d818",
716
- "date": "2025-11-13T04:05:15.987Z"
728
+ "commit": "6d1af30646383706d8abf8a33653f8bea48313c2",
729
+ "date": "2025-11-13T14:08:56.569Z"
717
730
  }
@@ -29,7 +29,8 @@
29
29
  "BashOutput",
30
30
  "KillShell",
31
31
  "SlashCommand",
32
- "Skill"
32
+ "Skill",
33
+ "AskUserQuestion"
33
34
  ],
34
35
  "tags": [
35
36
  "cli",
@@ -58,7 +59,8 @@
58
59
  "BashOutput",
59
60
  "KillShell",
60
61
  "SlashCommand",
61
- "Skill"
62
+ "Skill",
63
+ "AskUserQuestion"
62
64
  ],
63
65
  "tags": [
64
66
  "cli",
@@ -122,7 +124,8 @@
122
124
  "BashOutput",
123
125
  "KillShell",
124
126
  "SlashCommand",
125
- "Skill"
127
+ "Skill",
128
+ "AskUserQuestion"
126
129
  ],
127
130
  "asTool": true,
128
131
  "tags": [
@@ -153,6 +156,6 @@
153
156
  "BillingNotice": false,
154
157
  "CustomModelsJSON": true
155
158
  },
156
- "commit": "d31a17ec4a500cd025d3437596d4610b7a09d818",
157
- "date": "2025-11-13T04:05:20.441Z"
159
+ "commit": "6d1af30646383706d8abf8a33653f8bea48313c2",
160
+ "date": "2025-11-13T14:09:01.084Z"
158
161
  }