@tencent-ai/agent-sdk 0.1.14 → 0.1.16
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 +58 -0
- package/cli/dist/codebuddy.js +3 -3
- package/cli/package.json +1 -1
- package/cli/product.cloudhosted.json +6 -4
- package/cli/product.internal.json +6 -4
- package/cli/product.ioa.json +6 -4
- package/cli/product.json +24 -8
- package/cli/product.selfhosted.json +6 -4
- 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.30.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",
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
"KillShell",
|
|
38
38
|
"SlashCommand",
|
|
39
39
|
"Skill",
|
|
40
|
-
"AskUserQuestion"
|
|
40
|
+
"AskUserQuestion",
|
|
41
|
+
"LSP"
|
|
41
42
|
],
|
|
42
43
|
"tags": [
|
|
43
44
|
"cli",
|
|
@@ -64,7 +65,8 @@
|
|
|
64
65
|
"KillShell",
|
|
65
66
|
"SlashCommand",
|
|
66
67
|
"Skill",
|
|
67
|
-
"AskUserQuestion"
|
|
68
|
+
"AskUserQuestion",
|
|
69
|
+
"LSP"
|
|
68
70
|
],
|
|
69
71
|
"tags": [
|
|
70
72
|
"cli",
|
|
@@ -295,6 +297,6 @@
|
|
|
295
297
|
"BillingNotice": false,
|
|
296
298
|
"CustomModelsJSON": true
|
|
297
299
|
},
|
|
298
|
-
"commit": "
|
|
299
|
-
"date": "2026-01-
|
|
300
|
+
"commit": "5cc98bc04f26af9f4148e3afd75fe18a932da945",
|
|
301
|
+
"date": "2026-01-07T15:31:05.139Z"
|
|
300
302
|
}
|
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
"KillShell",
|
|
40
40
|
"SlashCommand",
|
|
41
41
|
"Skill",
|
|
42
|
-
"AskUserQuestion"
|
|
42
|
+
"AskUserQuestion",
|
|
43
|
+
"LSP"
|
|
43
44
|
],
|
|
44
45
|
"tags": [
|
|
45
46
|
"cli",
|
|
@@ -66,7 +67,8 @@
|
|
|
66
67
|
"KillShell",
|
|
67
68
|
"SlashCommand",
|
|
68
69
|
"Skill",
|
|
69
|
-
"AskUserQuestion"
|
|
70
|
+
"AskUserQuestion",
|
|
71
|
+
"LSP"
|
|
70
72
|
],
|
|
71
73
|
"tags": [
|
|
72
74
|
"cli",
|
|
@@ -297,6 +299,6 @@
|
|
|
297
299
|
"BillingNotice": false,
|
|
298
300
|
"CustomModelsJSON": true
|
|
299
301
|
},
|
|
300
|
-
"commit": "
|
|
301
|
-
"date": "2026-01-
|
|
302
|
+
"commit": "5cc98bc04f26af9f4148e3afd75fe18a932da945",
|
|
303
|
+
"date": "2026-01-07T15:31:02.409Z"
|
|
302
304
|
}
|
package/cli/product.ioa.json
CHANGED
|
@@ -48,7 +48,8 @@
|
|
|
48
48
|
"KillShell",
|
|
49
49
|
"SlashCommand",
|
|
50
50
|
"Skill",
|
|
51
|
-
"AskUserQuestion"
|
|
51
|
+
"AskUserQuestion",
|
|
52
|
+
"LSP"
|
|
52
53
|
],
|
|
53
54
|
"tags": [
|
|
54
55
|
"cli",
|
|
@@ -78,7 +79,8 @@
|
|
|
78
79
|
"KillShell",
|
|
79
80
|
"SlashCommand",
|
|
80
81
|
"Skill",
|
|
81
|
-
"AskUserQuestion"
|
|
82
|
+
"AskUserQuestion",
|
|
83
|
+
"LSP"
|
|
82
84
|
],
|
|
83
85
|
"tags": [
|
|
84
86
|
"cli",
|
|
@@ -504,6 +506,6 @@
|
|
|
504
506
|
"BillingNotice": false,
|
|
505
507
|
"CustomModelsJSON": true
|
|
506
508
|
},
|
|
507
|
-
"commit": "
|
|
508
|
-
"date": "2026-01-
|
|
509
|
+
"commit": "5cc98bc04f26af9f4148e3afd75fe18a932da945",
|
|
510
|
+
"date": "2026-01-07T15:31:03.774Z"
|
|
509
511
|
}
|
package/cli/product.json
CHANGED
|
@@ -409,11 +409,11 @@
|
|
|
409
409
|
},
|
|
410
410
|
{
|
|
411
411
|
"name": "tool-glob-description",
|
|
412
|
-
"template": "- Fast file pattern matching tool that works with any codebase size\n- Supports glob patterns like \"**/*.js\" or \"src/**/*.ts\"\n- Returns matching file paths sorted by modification time\n- Use this tool when you need to find files by name patterns\n- When you are doing an open ended search that may require multiple rounds of globbing and grepping, use the Agent tool instead\n- You can call multiple tools in a single response. It is always better to speculatively perform multiple searches in parallel if they are potentially useful.\n"
|
|
412
|
+
"template": "- Fast file pattern matching tool that works with any codebase size\n- Supports glob patterns like \"**/*.js\" or \"src/**/*.ts\"\n- Returns matching file paths sorted by modification time\n- Supports pagination with `limit` (max results, default 100) and `offset` (skip N results, default 0) parameters\n- Use this tool when you need to find files by name patterns\n- When you are doing an open ended search that may require multiple rounds of globbing and grepping, use the Agent tool instead\n- You can call multiple tools in a single response. It is always better to speculatively perform multiple searches in parallel if they are potentially useful.\n"
|
|
413
413
|
},
|
|
414
414
|
{
|
|
415
415
|
"name": "tool-grep-description",
|
|
416
|
-
"template": "A powerful search tool built on ripgrep\n\n Usage:\n - ALWAYS use Grep for search tasks. NEVER invoke `grep` or `rg` as a Bash command. The Grep tool has been optimized for correct permissions and access.\n - Supports full regex syntax (e.g., \"log.*Error\", \"function\\\\s+\\\\w+\")\n - Filter files with glob parameter (e.g., \"*.js\", \"**/*.tsx\") or type parameter (e.g., \"js\", \"py\", \"rust\")\n - Output modes: \"content\" shows matching lines, \"files_with_matches\" shows only file paths (default), \"count\" shows match counts\n - Use Task tool for open-ended searches requiring multiple rounds\n - Pattern syntax: Uses ripgrep (not grep) - literal braces need escaping (use `interface\\\\{\\\\}` to find `interface{}` in Go code)\n - Multiline matching: By default patterns match within single lines only. For cross-line patterns like `struct \\\\{[\\\\s\\\\S]*?field`, use `multiline: true`\n"
|
|
416
|
+
"template": "A powerful search tool built on ripgrep\n\n Usage:\n - ALWAYS use Grep for search tasks. NEVER invoke `grep` or `rg` as a Bash command. The Grep tool has been optimized for correct permissions and access.\n - Supports full regex syntax (e.g., \"log.*Error\", \"function\\\\s+\\\\w+\")\n - Filter files with glob parameter (e.g., \"*.js\", \"**/*.tsx\") or type parameter (e.g., \"js\", \"py\", \"rust\")\n - Output modes: \"content\" shows matching lines, \"files_with_matches\" shows only file paths (default), \"count\" shows match counts\n - Pagination support: Use `head_limit` to limit output (default unlimited) and `offset` to skip first N results (default 0)\n - Use Task tool for open-ended searches requiring multiple rounds\n - Pattern syntax: Uses ripgrep (not grep) - literal braces need escaping (use `interface\\\\{\\\\}` to find `interface{}` in Go code)\n - Multiline matching: By default patterns match within single lines only. For cross-line patterns like `struct \\\\{[\\\\s\\\\S]*?field`, use `multiline: true`\n"
|
|
417
417
|
},
|
|
418
418
|
{
|
|
419
419
|
"name": "tool-ls-description",
|
|
@@ -519,6 +519,10 @@
|
|
|
519
519
|
"name": "tool-ask-user-question-description",
|
|
520
520
|
"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"
|
|
521
521
|
},
|
|
522
|
+
{
|
|
523
|
+
"name": "tool-lsp-description",
|
|
524
|
+
"template": "Interact with Language Server Protocol (LSP) servers to get code intelligence features.\n\nSupported operations:\n- goToDefinition: Find where a symbol is defined\n- findReferences: Find all references to a symbol\n- hover: Get hover information (documentation, type info) for a symbol\n- documentSymbol: Get all symbols (functions, classes, variables) in a document\n- workspaceSymbol: Search for symbols across the entire workspace\n- goToImplementation: Find implementations of an interface or abstract method\n- prepareCallHierarchy: Get call hierarchy item at a position (functions/methods)\n- incomingCalls: Find all functions/methods that call the function at a position\n- outgoingCalls: Find all functions/methods called by the function at a position\n\nAll operations require:\n- filePath: The file to operate on\n- line: The line number (1-based, as shown in editors)\n- character: The character offset (1-based, as shown in editors)\n\nNote: LSP servers must be configured for the file type. If no server is available, an error will be returned.\n"
|
|
525
|
+
},
|
|
522
526
|
{
|
|
523
527
|
"name": "output-style-explanatory",
|
|
524
528
|
"template": "# Output Style: Explanatory\nIn addition to software engineering tasks, you should provide educational insights about codebase along the way. You should be clear and educational, providing helpful explanations while remaining focused on the task. Balance educational content with task completion. When providing insights, you may exceed typical length constraints, but remain focused and relevant.\n\n# Explanatory Style Active\n\n## Insights\nIn order to encourage learning, before and after writing code, always provide brief educational explanations about implementation choices using (with backticks):\n\"`★ Insight ─────────────────────────────────────` [2-3 key educational points] `─────────────────────────────────────────────────`\"\n\nThese insights should be included in the conversation, not in codebase. You should generally focus on interesting insights that are specific to codebase or code you just wrote, rather than general programming concepts."
|
|
@@ -613,7 +617,8 @@
|
|
|
613
617
|
"KillShell",
|
|
614
618
|
"SlashCommand",
|
|
615
619
|
"Skill",
|
|
616
|
-
"AskUserQuestion"
|
|
620
|
+
"AskUserQuestion",
|
|
621
|
+
"LSP"
|
|
617
622
|
],
|
|
618
623
|
"tags": [
|
|
619
624
|
"cli",
|
|
@@ -640,7 +645,8 @@
|
|
|
640
645
|
"KillShell",
|
|
641
646
|
"SlashCommand",
|
|
642
647
|
"Skill",
|
|
643
|
-
"AskUserQuestion"
|
|
648
|
+
"AskUserQuestion",
|
|
649
|
+
"LSP"
|
|
644
650
|
],
|
|
645
651
|
"tags": [
|
|
646
652
|
"cli",
|
|
@@ -825,7 +831,7 @@
|
|
|
825
831
|
"McpMarket": true,
|
|
826
832
|
"MemoryManagement": true,
|
|
827
833
|
"McpInstallationGuide": true,
|
|
828
|
-
"SelectImage":
|
|
834
|
+
"SelectImage": true,
|
|
829
835
|
"Aegis": false,
|
|
830
836
|
"ProposalAPI": false,
|
|
831
837
|
"NESNativeRenderer": false,
|
|
@@ -852,7 +858,7 @@
|
|
|
852
858
|
"Task": true,
|
|
853
859
|
"EnhancedCompletionRequest": false,
|
|
854
860
|
"ReportAfterCancel": false,
|
|
855
|
-
"RequestBodyGzip":
|
|
861
|
+
"RequestBodyGzip": true,
|
|
856
862
|
"StandaloneTerminal": true,
|
|
857
863
|
"DisablePlugin": true,
|
|
858
864
|
"Skills": true,
|
|
@@ -890,6 +896,12 @@
|
|
|
890
896
|
"plan",
|
|
891
897
|
"code-explorer"
|
|
892
898
|
],
|
|
899
|
+
"builtInMarketplaces": {
|
|
900
|
+
"codebuddy-plugins-official": {
|
|
901
|
+
"source": "git",
|
|
902
|
+
"url": "https://cnb.cool/codebuddy/marketplace"
|
|
903
|
+
}
|
|
904
|
+
},
|
|
893
905
|
"deploymentType": "SaaS",
|
|
894
906
|
"outputStyles": [
|
|
895
907
|
{
|
|
@@ -994,8 +1006,12 @@
|
|
|
994
1006
|
{
|
|
995
1007
|
"name": "AskUserQuestion",
|
|
996
1008
|
"description": "tool-ask-user-question-description"
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"name": "LSP",
|
|
1012
|
+
"description": "tool-lsp-description"
|
|
997
1013
|
}
|
|
998
1014
|
],
|
|
999
|
-
"commit": "
|
|
1000
|
-
"date": "2026-01-
|
|
1015
|
+
"commit": "5cc98bc04f26af9f4148e3afd75fe18a932da945",
|
|
1016
|
+
"date": "2026-01-07T15:31:01.027Z"
|
|
1001
1017
|
}
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
"KillShell",
|
|
33
33
|
"SlashCommand",
|
|
34
34
|
"Skill",
|
|
35
|
-
"AskUserQuestion"
|
|
35
|
+
"AskUserQuestion",
|
|
36
|
+
"Lsp"
|
|
36
37
|
],
|
|
37
38
|
"tags": [
|
|
38
39
|
"cli",
|
|
@@ -62,7 +63,8 @@
|
|
|
62
63
|
"KillShell",
|
|
63
64
|
"SlashCommand",
|
|
64
65
|
"Skill",
|
|
65
|
-
"AskUserQuestion"
|
|
66
|
+
"AskUserQuestion",
|
|
67
|
+
"Lsp"
|
|
66
68
|
],
|
|
67
69
|
"tags": [
|
|
68
70
|
"cli",
|
|
@@ -196,6 +198,6 @@
|
|
|
196
198
|
"BillingNotice": false,
|
|
197
199
|
"CustomModelsJSON": true
|
|
198
200
|
},
|
|
199
|
-
"commit": "
|
|
200
|
-
"date": "2026-01-
|
|
201
|
+
"commit": "5cc98bc04f26af9f4148e3afd75fe18a932da945",
|
|
202
|
+
"date": "2026-01-07T15:31:06.517Z"
|
|
201
203
|
}
|