@tencent-ai/agent-sdk 0.3.101 → 0.3.102
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/cli/CHANGELOG.md +14 -0
- package/cli/dist/codebuddy-headless.js +77 -59
- package/cli/package.json +1 -1
- package/cli/product.cloudhosted.json +2 -2
- package/cli/product.internal.json +2 -2
- package/cli/product.ioa.json +2 -2
- package/cli/product.json +4 -4
- package/cli/product.selfhosted.json +2 -2
- package/package.json +1 -1
package/cli/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tencent-ai/codebuddy-code",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.70.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",
|
package/cli/product.ioa.json
CHANGED
package/cli/product.json
CHANGED
|
@@ -682,11 +682,11 @@
|
|
|
682
682
|
},
|
|
683
683
|
{
|
|
684
684
|
"name": "tool-slashcommand-description",
|
|
685
|
-
"template": "Execute a slash command within the main conversation\n\
|
|
685
|
+
"template": "Execute a slash command within the main conversation\n\nThis tool supports both **custom slash commands** and **built-in commands**. Use it to execute slash commands on behalf of the user.\n\nUsage:\n- `command` (required): The slash command to execute, including any arguments\n- Example: `command: \"/model list\"`, `command: \"/model gpt-4o\"`, `command: \"/config list\"`, `command: \"/context\"`\n\n## Built-in Commands\n\nYou can call these built-in commands when the user's intent matches. All built-in commands support a parameter mode for model-driven calls. Without parameters they open an interactive panel (TUI only).\n\n**Information queries (no approval needed):**\n- `/help` - Show help and available commands\n- `/status` - Show version, model, account, API connectivity, and tool statuses\n- `/todos` - Display the current session's todo list\n- `/plan` - Preview the current plan file content\n- `/skills` - List available skills\n- `/tasks` - List and manage background tasks\n- `/model list` - List all available models with current selection\n- `/resume list` - List all available sessions (id, time, summary)\n- `/resume <session-id>` - Resume a specific session\n- `/config list` - List current settings\n- `/config get <key>` - Get a specific setting value\n\n**Configuration changes (needs approval):**\n- `/model <model-id>` - Switch the AI model (e.g., `/model gpt-4o`)\n- `/model:text-to-image list` - List available text-to-image models\n- `/model:text-to-image <model-id>` - Switch the text-to-image model\n- `/model:image-to-image list` - List available image-to-image models\n- `/model:image-to-image <model-id>` - Switch the image-to-image model\n- `/config set <key> <value>` - Change a setting (e.g., `/config set theme dark`)\n- `/clear` - Start a fresh conversation\n- `/rename <name>` - Rename the current conversation\n- `/theme` - Configure theme\n- `/output-style` - Set the output style\n\nDo NOT use this tool for commands not listed above (e.g., /exit, /login, /vim, etc.).\n{%- if truncatedCustomCommands.length > 0 %}\n\n## Custom Commands\n{%- for command in truncatedCustomCommands %}\n- {{command.name}} {{command.argumentHint}}: {{command.description}}\n{%- endfor %}\n{%- if truncatedCustomCommands.length < customCommands.length %}\n\n(Showing {{truncatedCustomCommands.length}} of {{customCommands.length}} commands due to token limits)\n{%- endif %}\n{%- endif %}\n\nNotes:\n- When a user requests multiple slash commands, execute each one sequentially and check for <command-message>{name} is running…</command-message> to verify each has been processed\n- Do not invoke a command that is already running. For example, if you see <command-message>foo is running…</command-message>, do NOT use this tool with \"/foo\" - process the expanded prompt in the following message\n"
|
|
686
686
|
},
|
|
687
687
|
{
|
|
688
688
|
"name": "tool-skill-description",
|
|
689
|
-
"template": "Execute a skill within the main conversation\n\n<skills_instructions>\nWhen users ask you to perform tasks, check if any of the available skills below can help complete the task more effectively. Skills provide specialized capabilities and domain knowledge.\n\nWhen users ask you to run a \"slash command\" or reference \"/<something>\" (e.g., \"/commit\", \"/review-pr\"), they are referring to a skill. Use this tool to invoke
|
|
689
|
+
"template": "Execute a skill or built-in command within the main conversation\n\n<skills_instructions>\nWhen users ask you to perform tasks, check if any of the available skills below can help complete the task more effectively. Skills provide specialized capabilities and domain knowledge.\n\nWhen users ask you to run a \"slash command\" or reference \"/<something>\" (e.g., \"/commit\", \"/review-pr\", \"/clear\", \"/model\"), they are referring to a skill or built-in command. Use this tool to invoke it.\n\n<example>\nUser: \"run /commit\"\nAssistant: [Calls Skill tool with skill: \"commit\"]\n</example>\n\n<example>\nUser: \"switch to gpt-4o\"\nAssistant: [Calls Skill tool with skill: \"model\", args: \"gpt-4o\"]\n</example>\n\n<example>\nUser: \"clear the conversation\"\nAssistant: [Calls Skill tool with skill: \"clear\"]\n</example>\n\nHow to invoke:\n- Use this tool with the skill name and optional arguments\n- Examples:\n - `skill: \"pdf\"` - invoke the pdf skill\n - `skill: \"commit\", args: \"-m 'Fix bug'\"` - invoke with arguments\n - `skill: \"review-pr\", args: \"123\"` - invoke with arguments\n - `skill: \"ms-office-suite:pdf\"` - invoke using fully qualified name\n - `skill: \"model\", args: \"list\"` - list available AI models\n - `skill: \"model\", args: \"gpt-4o\"` - switch AI model\n - `skill: \"clear\"` - start a fresh conversation\n - `skill: \"resume\", args: \"list\"` - list available sessions\n - `skill: \"config\", args: \"set theme dark\"` - change a setting\n\nImportant:\n- When a skill is relevant, you must invoke this tool IMMEDIATELY as your first action\n- NEVER just announce or mention a skill in your text response without actually calling this tool\n- This is a BLOCKING REQUIREMENT: invoke the relevant Skill tool BEFORE generating any other response about the task\n- Do not invoke a skill that is already running\n- If you see a <command-name> tag in the current conversation turn, the skill has ALREADY been loaded - follow the instructions directly instead of calling this tool again\n</skills_instructions>\n\n<available_skills>\n{%- if skills and skills.length > 0 -%}\n{%- for skill in skills %}\n<skill>\n<name>\n{{skill.name}}\n</name>\n<description>\n{{skill.description}}\n</description>\n<location>\n{{skill.source}}\n</location>\n{%- if skill.allowedTools %}\n<allowed-tools>\n{{skill.allowedTools.join(', ')}}\n</allowed-tools>\n{%- endif %}\n</skill>\n{%- endfor -%}\n{%- endif %}\n</available_skills>\n"
|
|
690
690
|
},
|
|
691
691
|
{
|
|
692
692
|
"name": "agent-statusline-instructions",
|
|
@@ -1480,6 +1480,6 @@
|
|
|
1480
1480
|
"description": "Send a reply to a WeCom (企业微信) user. For text: pass text (markdown supported)."
|
|
1481
1481
|
}
|
|
1482
1482
|
],
|
|
1483
|
-
"commit": "
|
|
1484
|
-
"date": "2026-03-
|
|
1483
|
+
"commit": "d8125410a5d7fe59126e157cd53143914cd75f08",
|
|
1484
|
+
"date": "2026-03-31T08:09:41.730Z"
|
|
1485
1485
|
}
|
|
@@ -293,6 +293,6 @@
|
|
|
293
293
|
"DeferToolLoading": true,
|
|
294
294
|
"ScheduledTasks": true
|
|
295
295
|
},
|
|
296
|
-
"commit": "
|
|
297
|
-
"date": "2026-03-
|
|
296
|
+
"commit": "d8125410a5d7fe59126e157cd53143914cd75f08",
|
|
297
|
+
"date": "2026-03-31T08:09:41.703Z"
|
|
298
298
|
}
|