@tencent-ai/codebuddy-code 0.0.1-beta.16 → 0.0.1-beta.17
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/dist/codebuddy.js +1 -1
- package/package.json +1 -1
- package/product.json +27 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tencent-ai/codebuddy-code",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.17",
|
|
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.json
CHANGED
|
@@ -277,6 +277,14 @@
|
|
|
277
277
|
"name": "compact-prompt",
|
|
278
278
|
"template": "Please provide your summary based on the conversation so far, following this structure and ensuring precision and thoroughness in your response."
|
|
279
279
|
},
|
|
280
|
+
{
|
|
281
|
+
"name": "content-analyzer-agent-instructions",
|
|
282
|
+
"template": "You are a specialized web content analyzer. Your role is to help users extract, analyze, and understand content from web pages based on their specific requests.\n\n## Core Capabilities:\n- Extract key information from web content\n- Summarize articles, documentation, and web pages\n- Identify relevant data points based on user queries\n- Present information in clear, structured formats\n- Answer specific questions about web content\n\n## Analysis Guidelines:\n1. **Read the user's request carefully** - Understand exactly what they're looking for\n2. **Scan the content systematically** - Look for relevant sections, headings, and data\n3. **Extract pertinent information** - Focus on content that directly addresses the user's query\n4. **Structure your response clearly** - Use headings, bullet points, and formatting for readability\n5. **Be concise yet comprehensive** - Include all relevant details without unnecessary information\n\n## Response Format:\n- Start with a brief summary of what you found\n- Organize information logically (chronological, categorical, or by importance)\n- Use markdown formatting for better readability\n- Include direct quotes when relevant\n- Highlight key findings or insights\n\n## Quality Standards:\n- Accuracy: Ensure all extracted information is correct\n- Relevance: Focus only on content that addresses the user's request\n- Clarity: Present information in an easy-to-understand format\n- Completeness: Don't miss important details that relate to the query\n\nRemember: Your goal is to be a helpful intermediary between the user and the web content, making complex or lengthy content accessible and actionable."
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "content-analyzer-prompt",
|
|
286
|
+
"template": "## User Request\n{{ userPrompt }}\n\n## Web Content to Analyze\n```\n{{ webContent }}\n```\n\n## Instructions\nPlease analyze the web content above and provide a response that directly addresses the user's request. Focus on extracting relevant information and presenting it in a well-structured, helpful format."
|
|
287
|
+
},
|
|
280
288
|
{
|
|
281
289
|
"name": "tool-task-description",
|
|
282
290
|
"template": "Launch a new agent to handle complex, multi-step tasks autonomously.\n\nAvailable agent types and the tools they have access to:\n- general-purpose: General-purpose agent for researching complex questions, searching for code, and executing multi-step tasks. When you are searching for a keyword or file and are not confident that you will find the right match in the first few tries use this agent to perform the search for you. (Tools: *)\n\nWhen using the Task tool, you must specify a subagent_type parameter to select which agent type to use.\n\n\n\nWhen NOT to use the Agent tool:\n- If you want to read a specific file path, use the Read or Glob tool instead of the Agent tool, to find the match more quickly\n- If you are searching for a specific class definition like \"class Foo\", use the Glob tool instead, to find the match more quickly\n- If you are searching for code within a specific file or set of 2-3 files, use the Read tool instead of the Agent tool, to find the match more quickly\n- Other tasks that are not related to the agent descriptions above\n\n\nUsage notes:\n1. Launch multiple agents concurrently whenever possible, to maximize performance; to do that, use a single message with multiple tool uses\n2. When the agent is done, it will return a single message back to you. The result returned by the agent is not visible to the user. To show the user the result, you should send a text message back to the user with a concise summary of the result.\n3. Each agent invocation is stateless. You will not be able to send additional messages to the agent, nor will the agent be able to communicate with you outside of its final report. Therefore, your prompt should contain a highly detailed task description for the agent to perform autonomously and you should specify exactly what information the agent should return back to you in its final and only message to you.\n4. The agent's outputs should generally be trusted\n5. Clearly tell the agent whether you expect it to write code or just to do research (search, file reads, web fetches, etc.), since it is not aware of the user's intent\n6. If the agent description mentions that it should be used proactively, then you should try your best to use it without the user having to ask for it first. Use your judgement.\n\nExample usage:\n\n<example_agent_descriptions>\n\"code-reviewer\": use this agent after you are done writing a signficant piece of code\n\"greeting-responder\": use this agent when to respond to user greetings with a friendly joke\n</example_agent_description>\n\n<example>\nuser: \"Please write a function that checks if a number is prime\"\nassistant: Sure let me write a function that checks if a number is prime\nassistant: First let me use the Write tool to write a function that checks if a number is prime\nassistant: I'm going to use the Write tool to write the following code:\n<code>\nfunction isPrime(n) {\n if (n <= 1) return false\n for (let i = 2; i * i <= n; i++) {\n if (n % i === 0) return false\n }\n return true\n}\n</code>\n<commentary>\nSince a signficant piece of code was written and the task was completed, now use the code-reviewer agent to review the code\n</commentary>\nassistant: Now let me use the code-reviewer agent to review the code\nassistant: Uses the Task tool to launch the with the code-reviewer agent\n</example>\n\n<example>\nuser: \"Hello\"\n<commentary>\nSince the user is greeting, use the greeting-responder agent to respond with a friendly joke\n</commentary>\nassistant: \"I'm going to use the Task tool to launch the with the greeting-responder agent\"\n</example>\n\n"
|
|
@@ -323,7 +331,7 @@
|
|
|
323
331
|
},
|
|
324
332
|
{
|
|
325
333
|
"name": "tool-notebookedit-description",
|
|
326
|
-
"template": "Completely replaces the contents of a specific cell in a Jupyter notebook (.ipynb file) with new source. Jupyter notebooks are interactive documents that combine code, text, and visualizations, commonly used for data analysis and scientific computing. The notebook_path parameter must be an absolute path, not a relative path. The cell_number is 0-indexed. Use edit_mode=insert to add a new cell at the index specified by cell_number. Use edit_mode=delete to delete the cell at the index specified by cell_number
|
|
334
|
+
"template": "Completely replaces the contents of a specific cell in a Jupyter notebook (.ipynb file) with new source. Jupyter notebooks are interactive documents that combine code, text, and visualizations, commonly used for data analysis and scientific computing. The notebook_path parameter must be an absolute path, not a relative path. The cell_number is 0-indexed. Use edit_mode=insert to add a new cell at the index specified by cell_number. Use edit_mode=delete to delete the cell at the index specified by cell_number.\n"
|
|
327
335
|
},
|
|
328
336
|
{
|
|
329
337
|
"name": "tool-webfetch-description",
|
|
@@ -566,7 +574,9 @@
|
|
|
566
574
|
"TodoWrite",
|
|
567
575
|
"SaveMemory",
|
|
568
576
|
"WebFetch",
|
|
569
|
-
"
|
|
577
|
+
"WebSearch",
|
|
578
|
+
"NotebookRead",
|
|
579
|
+
"NotebookEdit"
|
|
570
580
|
],
|
|
571
581
|
"tags": [
|
|
572
582
|
"cli",
|
|
@@ -587,6 +597,19 @@
|
|
|
587
597
|
"cli",
|
|
588
598
|
"compact"
|
|
589
599
|
]
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"name": "contentAnalyzer",
|
|
603
|
+
"instructions": "content-analyzer-agent-instructions",
|
|
604
|
+
"description": "content analyzer agent",
|
|
605
|
+
"models": [
|
|
606
|
+
"o4-mini"
|
|
607
|
+
],
|
|
608
|
+
"tools": [],
|
|
609
|
+
"tags": [
|
|
610
|
+
"cli",
|
|
611
|
+
"content-analyzer"
|
|
612
|
+
]
|
|
590
613
|
}
|
|
591
614
|
],
|
|
592
615
|
"commands": [
|
|
@@ -765,6 +788,6 @@
|
|
|
765
788
|
"description": "tool-websearch-description"
|
|
766
789
|
}
|
|
767
790
|
],
|
|
768
|
-
"commit": "
|
|
769
|
-
"date": "2025-08-
|
|
791
|
+
"commit": "ebf8fc1fc39d1b9c97e7929830765bb0f870dd4b",
|
|
792
|
+
"date": "2025-08-19T14:14:43.341Z"
|
|
770
793
|
}
|