@tencent-ai/codebuddy-code 1.1.5-next.e822df1.20250922 → 1.1.6-next.6d1298b.20250923
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/CHANGELOG.md +20 -0
- package/dist/422.codebuddy.js +1 -1
- package/dist/566.codebuddy.js +1 -1
- package/dist/codebuddy.js +1 -1
- package/package.json +1 -1
- package/product.internal.json +4 -4
- package/product.ioa.json +4 -4
- package/product.json +8 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tencent-ai/codebuddy-code",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6-next.6d1298b.20250923",
|
|
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",
|
package/product.internal.json
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"compact"
|
|
16
16
|
],
|
|
17
17
|
"tools": [
|
|
18
|
+
"Task",
|
|
18
19
|
"Read",
|
|
19
20
|
"LS",
|
|
20
21
|
"Write",
|
|
@@ -29,8 +30,7 @@
|
|
|
29
30
|
"WebSearch",
|
|
30
31
|
"NotebookRead",
|
|
31
32
|
"NotebookEdit",
|
|
32
|
-
"NotebookWrite"
|
|
33
|
-
"Task"
|
|
33
|
+
"NotebookWrite"
|
|
34
34
|
],
|
|
35
35
|
"tags": [
|
|
36
36
|
"cli",
|
|
@@ -203,6 +203,6 @@
|
|
|
203
203
|
"productFeatures": {
|
|
204
204
|
"BillingNotice": false
|
|
205
205
|
},
|
|
206
|
-
"commit": "
|
|
207
|
-
"date": "2025-09-
|
|
206
|
+
"commit": "6d1298bc949d22709d058156cda4d5161022802d",
|
|
207
|
+
"date": "2025-09-22T16:03:01.455Z"
|
|
208
208
|
}
|
package/product.ioa.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"compact"
|
|
21
21
|
],
|
|
22
22
|
"tools": [
|
|
23
|
+
"Task",
|
|
23
24
|
"Read",
|
|
24
25
|
"LS",
|
|
25
26
|
"Write",
|
|
@@ -34,8 +35,7 @@
|
|
|
34
35
|
"WebSearch",
|
|
35
36
|
"NotebookRead",
|
|
36
37
|
"NotebookEdit",
|
|
37
|
-
"NotebookWrite"
|
|
38
|
-
"Task"
|
|
38
|
+
"NotebookWrite"
|
|
39
39
|
],
|
|
40
40
|
"tags": [
|
|
41
41
|
"cli",
|
|
@@ -294,6 +294,6 @@
|
|
|
294
294
|
"productFeatures": {
|
|
295
295
|
"BillingNotice": false
|
|
296
296
|
},
|
|
297
|
-
"commit": "
|
|
298
|
-
"date": "2025-09-
|
|
297
|
+
"commit": "6d1298bc949d22709d058156cda4d5161022802d",
|
|
298
|
+
"date": "2025-09-22T16:03:02.785Z"
|
|
299
299
|
}
|
package/product.json
CHANGED
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
193
|
"name": "init-prompt",
|
|
194
|
-
"template": "Please analyze this codebase and create a CODEBUDDY.md file, which will be given to future instances of CodeBuddy Code to operate in this repository.\n \nWhat to add:\n1. Commands that will be commonly used, such as how to build, lint, and run tests. Include the necessary commands to develop in this codebase, such as how to run a single test.\n2. High-level code architecture and structure so that future instances can be productive more quickly. Focus on the \"big picture\" architecture that requires reading multiple files to understand\n\nUsage notes:\n- If there's already a CODEBUDDY.md, suggest improvements to it.\n- When you make the initial CODEBUDDY.md, do not repeat yourself and do not include obvious instructions like \"Provide helpful error messages to users\", \"Write unit tests for all new utilities\", \"Never include sensitive information (API keys, tokens) in code or commits\" \n- Avoid listing every component or file structure that can be easily discovered\n- Don't include generic development practices\n- If there are Claude Code rules (in ./CLAUDE.md) or Cursor rules (in .cursor/rules/ or .cursorrules) or Copilot rules (in .github/copilot-instructions.md), make sure to include the important parts.\n- If there is a README.md, make sure to include the important parts. \n- Do not make up information such as \"Common Development Tasks\", \"Tips for Development\", \"Support and Documentation\" unless this is expressly included in other files that you read.\n- Be sure to prefix the file with the following text:\n"
|
|
194
|
+
"template": "Please analyze this codebase and create a CODEBUDDY.md file, which will be given to future instances of CodeBuddy Code to operate in this repository.\n \nWhat to add:\n1. Commands that will be commonly used, such as how to build, lint, and run tests. Include the necessary commands to develop in this codebase, such as how to run a single test.\n2. High-level code architecture and structure so that future instances can be productive more quickly. Focus on the \"big picture\" architecture that requires reading multiple files to understand\n\nUsage notes:\n- If there's already a CODEBUDDY.md, suggest improvements to it.\n- When you make the initial CODEBUDDY.md, do not repeat yourself and do not include obvious instructions like \"Provide helpful error messages to users\", \"Write unit tests for all new utilities\", \"Never include sensitive information (API keys, tokens) in code or commits\" \n- Avoid listing every component or file structure that can be easily discovered\n- Don't include generic development practices\n- If there are Claude Code rules (in ./CLAUDE.md) or Cursor rules (in .cursor/rules/ or .cursorrules) or Copilot rules (in .github/copilot-instructions.md) or ./AGENTS.md, make sure to include the important parts.\n- If there is a README.md, make sure to include the important parts. \n- Do not make up information such as \"Common Development Tasks\", \"Tips for Development\", \"Support and Documentation\" unless this is expressly included in other files that you read.\n- Be sure to prefix the file with the following text:\n"
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
197
|
"name": "compact-agent-prompt",
|
|
@@ -247,11 +247,11 @@
|
|
|
247
247
|
},
|
|
248
248
|
{
|
|
249
249
|
"name": "tool-edit-description",
|
|
250
|
-
"template": "Performs exact string replacements in files.\n\nUsage:\n- You must use your `Read` tool at least once in the conversation before editing. This tool will error if you attempt an edit without reading the file.\n- When editing text from Read tool output, ensure you preserve the exact indentation (tabs/spaces) as it appears AFTER the line number prefix. The line number prefix format is: spaces + line number + tab. Everything after that tab is the actual file content to match. Never include any part of the line number prefix in the old_string or new_string.\n- ALWAYS prefer editing existing files in the codebase. NEVER write new files unless explicitly required.\n- Only use emojis if the user explicitly requests it. Avoid adding emojis to files unless asked.\n- The edit will FAIL if `old_string` is not unique in the file. Either provide a larger string with more surrounding context to make it unique or use `replace_all` to change every instance of `old_string`.\n- Use `replace_all` for replacing and renaming strings across the file. This parameter is useful if you want to rename a variable for instance.\n\nCRITICAL REQUIREMENTS:\n- The tool will fail if `old_string` and `new_string` are the same\n- The tool will fail if `old_string` doesn't match the file contents exactly (including whitespace)\n- This tool is for MODIFYING content only - if `old_string` equals `new_string`, you are not making any changes\n\nWARNING:\n- NEVER use this tool to \"verify\" content or as a no-op operation\n- NEVER pass identical values for `old_string` and `new_string`\n- If you don't need to change anything, don't use this tool\n"
|
|
250
|
+
"template": "Performs exact string replacements in files.\n\nUsage:\n- You must use your `Read` tool at least once in the conversation before editing. This tool will error if you attempt an edit without reading the file.\n- When editing text from Read tool output, ensure you preserve the exact indentation (tabs/spaces) as it appears AFTER the line number prefix. The line number prefix format is: spaces + line number + tab. Everything after that tab is the actual file content to match. Never include any part of the line number prefix in the old_string or new_string.\n- ALWAYS prefer editing existing files in the codebase. NEVER write new files unless explicitly required.\n- Only use emojis if the user explicitly requests it. Avoid adding emojis to files unless asked.\n- The edit will FAIL if `old_string` is not unique in the file. Either provide a larger string with more surrounding context to make it unique or use `replace_all` to change every instance of `old_string`.\n- Use `replace_all` for replacing and renaming strings across the file. This parameter is useful if you want to rename a variable for instance.\n\nCRITICAL REQUIREMENTS:\n- The tool will fail if `old_string` and `new_string` are the same\n- The tool will fail if `old_string` doesn't match the file contents exactly (including whitespace)\n- This tool is for MODIFYING content only - if `old_string` equals `new_string`, you are not making any changes\n\nWARNING:\n- NEVER use this tool to \"verify\" content or as a no-op operation\n- NEVER pass identical values for `old_string` and `new_string`\n- If you don't need to change anything, don't use this tool\n- Make sure the text matches exactly, including whitespace\n"
|
|
251
251
|
},
|
|
252
252
|
{
|
|
253
253
|
"name": "tool-multiedit-description",
|
|
254
|
-
"template": "This is a tool for making multiple edits to a single file in one operation. It is built on top of the Edit tool and allows you to perform multiple find-and-replace operations efficiently. Prefer this tool over the Edit tool when you need to make multiple edits to the same file.\n\nBefore using this tool:\n\n1. Use the Read tool to understand the file's contents and context\n2. Verify the directory path is correct\n\nTo make multiple file edits, provide the following:\n1. file_path: The absolute path to the file to modify (must be absolute, not relative)\n2. edits: An array of edit operations to perform, where each edit contains:\n - old_string: The text to replace (must match the file contents exactly, including all whitespace and indentation)\n - new_string: The edited text to replace the old_string\n - replace_all: Replace all occurences of old_string. This parameter is optional and defaults to false.\n\nIMPORTANT:\n- All edits are applied in sequence, in the order they are provided\n- Each edit operates on the result of the previous edit\n- All edits must be valid for the operation to succeed - if any edit fails, none will be applied\n- This tool is ideal when you need to make several changes to different parts of the same file\n- For Jupyter notebooks (.ipynb files), use the NotebookEdit instead\n\nCRITICAL REQUIREMENTS:\n1. All edits follow the same requirements as the single Edit tool\n2. The edits are atomic - either all succeed or none are applied\n3. Plan your edits carefully to avoid conflicts between sequential operations\n\nWARNING:\n- The tool will fail if edits.old_string doesn't match the file contents exactly (including whitespace)\n- The tool will fail if edits.old_string and edits.new_string are the same\n- Since edits are applied in sequence, ensure that earlier edits don't affect the text that later edits are trying to find\n\nWhen making edits:\n- Ensure all edits result in idiomatic, correct code\n- Do not leave the code in a broken state\n- Always use absolute file paths (starting with /)\n- Only use emojis if the user explicitly requests it. Avoid adding emojis to files unless asked.\n- Use replace_all for replacing and renaming strings across the file. This parameter is useful if you want to rename a variable for instance.\n\nIf you want to create a new file, use:\n- A new file path, including dir name if needed\n- First edit: empty old_string and the new file's contents as new_string\n- Subsequent edits: normal edit operations on the created content\n"
|
|
254
|
+
"template": "This is a tool for making multiple edits to a single file in one operation. It is built on top of the Edit tool and allows you to perform multiple find-and-replace operations efficiently. Prefer this tool over the Edit tool when you need to make multiple edits to the same file.\n\nBefore using this tool:\n\n1. Use the Read tool to understand the file's contents and context\n2. Verify the directory path is correct\n\nTo make multiple file edits, provide the following:\n1. file_path: The absolute path to the file to modify (must be absolute, not relative)\n2. edits: An array of edit operations to perform, where each edit contains:\n - old_string: The text to replace (must match the file contents exactly, including all whitespace and indentation)\n - new_string: The edited text to replace the old_string\n - replace_all: Replace all occurences of old_string. This parameter is optional and defaults to false.\n\nIMPORTANT:\n- All edits are applied in sequence, in the order they are provided\n- Each edit operates on the result of the previous edit\n- All edits must be valid for the operation to succeed - if any edit fails, none will be applied\n- This tool is ideal when you need to make several changes to different parts of the same file\n- For Jupyter notebooks (.ipynb files), use the NotebookEdit instead\n\nCRITICAL REQUIREMENTS:\n1. All edits follow the same requirements as the single Edit tool\n2. The edits are atomic - either all succeed or none are applied\n3. Plan your edits carefully to avoid conflicts between sequential operations\n\nWARNING:\n- The tool will fail if edits.old_string doesn't match the file contents exactly (including whitespace)\n- The tool will fail if edits.old_string and edits.new_string are the same\n- Since edits are applied in sequence, ensure that earlier edits don't affect the text that later edits are trying to find\n- Make sure the text matches exactly, including whitespace\n\nWhen making edits:\n- Ensure all edits result in idiomatic, correct code\n- Do not leave the code in a broken state\n- Always use absolute file paths (starting with /)\n- Only use emojis if the user explicitly requests it. Avoid adding emojis to files unless asked.\n- Use replace_all for replacing and renaming strings across the file. This parameter is useful if you want to rename a variable for instance.\n\nIf you want to create a new file, use:\n- A new file path, including dir name if needed\n- First edit: empty old_string and the new file's contents as new_string\n- Subsequent edits: normal edit operations on the created content\n"
|
|
255
255
|
},
|
|
256
256
|
{
|
|
257
257
|
"name": "tool-write-description",
|
|
@@ -336,6 +336,7 @@
|
|
|
336
336
|
"compact"
|
|
337
337
|
],
|
|
338
338
|
"tools": [
|
|
339
|
+
"Task",
|
|
339
340
|
"Read",
|
|
340
341
|
"LS",
|
|
341
342
|
"Write",
|
|
@@ -350,8 +351,7 @@
|
|
|
350
351
|
"WebSearch",
|
|
351
352
|
"NotebookRead",
|
|
352
353
|
"NotebookEdit",
|
|
353
|
-
"NotebookWrite"
|
|
354
|
-
"Task"
|
|
354
|
+
"NotebookWrite"
|
|
355
355
|
],
|
|
356
356
|
"tags": [
|
|
357
357
|
"cli",
|
|
@@ -469,6 +469,7 @@
|
|
|
469
469
|
"CodeAction": true,
|
|
470
470
|
"Mcp": true,
|
|
471
471
|
"McpMarket": true,
|
|
472
|
+
"MemoryManagement": true,
|
|
472
473
|
"McpInstallationGuide": true,
|
|
473
474
|
"SelectImage": false,
|
|
474
475
|
"Aegis": true,
|
|
@@ -569,6 +570,6 @@
|
|
|
569
570
|
"description": "tool-task-description"
|
|
570
571
|
}
|
|
571
572
|
],
|
|
572
|
-
"commit": "
|
|
573
|
-
"date": "2025-09-
|
|
573
|
+
"commit": "6d1298bc949d22709d058156cda4d5161022802d",
|
|
574
|
+
"date": "2025-09-22T16:03:00.137Z"
|
|
574
575
|
}
|