@tencent-ai/codebuddy-code 2.62.0 → 2.62.1
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 +12 -0
- package/dist/codebuddy-headless.js +164 -160
- package/dist/codebuddy.js +57 -53
- package/package.json +1 -1
- package/product.cloudhosted.json +2 -2
- package/product.internal.json +2 -2
- package/product.ioa.json +2 -2
- package/product.json +6 -6
- package/product.selfhosted.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tencent-ai/codebuddy-code",
|
|
3
|
-
"version": "2.62.
|
|
3
|
+
"version": "2.62.1",
|
|
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.cloudhosted.json
CHANGED
package/product.internal.json
CHANGED
package/product.ioa.json
CHANGED
package/product.json
CHANGED
|
@@ -457,9 +457,9 @@
|
|
|
457
457
|
"emergency": 0.9
|
|
458
458
|
},
|
|
459
459
|
"inputTokens": {
|
|
460
|
-
"warning": 0.
|
|
461
|
-
"critical": 0.
|
|
462
|
-
"emergency": 0.
|
|
460
|
+
"warning": 0.7,
|
|
461
|
+
"critical": 0.8,
|
|
462
|
+
"emergency": 0.92
|
|
463
463
|
}
|
|
464
464
|
},
|
|
465
465
|
"requestMaxStepLimit": 100,
|
|
@@ -478,7 +478,7 @@
|
|
|
478
478
|
},
|
|
479
479
|
{
|
|
480
480
|
"name": "compact-prompt",
|
|
481
|
-
"template": "
|
|
481
|
+
"template": "Your task is to create a detailed summary of the conversation so far, paying close attention to the user's explicit requests and your previous actions.\nThis summary should be thorough in capturing technical details, code patterns, and architectural decisions that would be essential for continuing development work without losing context.\n\nBefore providing your final summary, wrap your analysis in <analysis> tags to organize your thoughts and ensure you've covered all necessary points. In your analysis process:\n\n1. Chronologically analyze each message and section of the conversation. For each section thoroughly identify:\n - The user's explicit requests and intents\n - Your approach to addressing the user's requests\n - Key decisions, technical concepts and code patterns\n - Specific details like:\n - file names\n - full code snippets\n - function signatures\n - file edits\n - Errors that you ran into and how you fixed them\n - Pay special attention to specific user feedback that you received, especially if the user told you to do something differently.\n2. Double-check for technical accuracy and completeness, addressing each required element thoroughly.\n\nYour summary should include the following sections:\n\n1. Primary Request and Intent: Capture all of the user's explicit requests and intents in detail\n2. Key Technical Concepts: List all important technical concepts, technologies, and frameworks discussed.\n3. Files and Code Sections: Enumerate specific files and code sections examined, modified, or created. Pay special attention to the most recent messages and include full code snippets where applicable and include a summary of why this file read or edit is important.\n4. Errors and fixes: List all errors that you ran into, and how you fixed them. Pay special attention to specific user feedback that you received, especially if the user told you to do something differently.\n5. Problem Solving: Document problems solved and any ongoing troubleshooting efforts.\n6. All user messages: List ALL user messages that are not tool results. These are critical for understanding the users' feedback and changing intent.\n7. Pending Tasks: Outline any pending tasks that you have explicitly been asked to work on.\n8. Current Work: Describe in detail precisely what was being worked on immediately before this summary request, paying special attention to the most recent messages from both user and assistant. Include file names and code snippets where applicable.\n9. Optional Next Step: List the next step that you will take that is related to the most recent work you were doing. IMPORTANT: ensure that this step is DIRECTLY in line with the user's most recent explicit requests, and the task you were working on immediately before this summary request. If your last task was concluded, then only list next steps if they are explicitly in line with the users request. Do not start on tangential requests or really old requests that were already completed without confirming with the user first.\n If there is a next step, include direct quotes from the most recent conversation showing exactly what task you were working on and where you left off. This should be verbatim to ensure there's no drift in task interpretation.\n\nHere's an example of how your output should be structured:\n\n<example>\n<conversation_history_summary>\n<analysis>\n[Your thought process, ensuring all points are covered thoroughly and accurately]\n</analysis>\n\n<summary>\n1. Primary Request and Intent:\n [Detailed description]\n\n2. Key Technical Concepts:\n - [Concept 1]\n - [Concept 2]\n - [...]\n\n3. Files and Code Sections:\n - [File Name 1]\n - [Summary of why this file is important]\n - [Summary of the changes made to this file, if any]\n - [Important Code Snippet]\n - [File Name 2]\n - [Important Code Snippet]\n - [...]\n\n4. Errors and fixes:\n - [Detailed description of error 1]:\n - [How you fixed the error]\n - [User feedback on the error if any]\n - [...]\n\n5. Problem Solving:\n [Description of solved problems and ongoing troubleshooting]\n\n6. All user messages: \n - [Detailed non tool use user message]\n - [...]\n\n7. Pending Tasks:\n - [Task 1]\n - [Task 2]\n - [...]\n\n8. Current Work:\n [Precise description of current work]\n\n9. Optional Next Step:\n [Optional Next step to take]\n\n</summary>\n</conversation_history_summary>\n</example>\n\nPlease provide your summary based on the conversation so far, following this structure and ensuring precision and thoroughness in your response. \n\nThere may be additional summarization instructions provided in the included context. If so, remember to follow these instructions when creating the above summary. Examples of instructions include:\n<example>\n## Compact Instructions\nWhen summarizing the conversation focus on typescript code changes and also remember the mistakes you made and how you fixed them.\n</example>\n\n<example>\n# Summary instructions\nWhen you are using compact - please focus on test output and code changes. Include file reads verbatim.\n</example>\n\n\nIMPORTANT: Do NOT use any tools. You MUST respond with the complete <conversation_history_summary> structure as shown in the example above. Your output MUST follow this exact format:\n\n<conversation_history_summary>\n<analysis>\n[Your analysis here]\n</analysis>\n\n<summary>\n[Your summary here following the 9-section structure]\n</summary>\n</conversation_history_summary>\n"
|
|
482
482
|
},
|
|
483
483
|
{
|
|
484
484
|
"name": "command-security-review-prompt",
|
|
@@ -1465,6 +1465,6 @@
|
|
|
1465
1465
|
"description": "tool-delegatetool-description"
|
|
1466
1466
|
}
|
|
1467
1467
|
],
|
|
1468
|
-
"commit": "
|
|
1469
|
-
"date": "2026-03-
|
|
1468
|
+
"commit": "5b336227315352e507a9932ef2320de82b2ea0b6",
|
|
1469
|
+
"date": "2026-03-15T14:59:52.680Z"
|
|
1470
1470
|
}
|
package/product.selfhosted.json
CHANGED
|
@@ -291,6 +291,6 @@
|
|
|
291
291
|
"DeferToolLoading": true,
|
|
292
292
|
"ScheduledTasks": true
|
|
293
293
|
},
|
|
294
|
-
"commit": "
|
|
295
|
-
"date": "2026-03-
|
|
294
|
+
"commit": "5b336227315352e507a9932ef2320de82b2ea0b6",
|
|
295
|
+
"date": "2026-03-15T14:59:52.737Z"
|
|
296
296
|
}
|