@tencent-ai/codebuddy-code 2.94.4 → 2.95.0-next.dddd628.20260502
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 +37 -0
- package/dist/codebuddy-headless.js +96 -96
- package/dist/codebuddy.js +113 -113
- package/dist/web-ui/assets/{index-BpnOVpEQ.js → index-BY1JTnsk.js} +126 -126
- package/dist/web-ui/index.html +1 -1
- package/dist/web-ui/sw.js +1 -1
- package/package.json +3 -2
- package/product.cloudhosted.json +5 -3
- package/product.internal.json +5 -3
- package/product.ioa.json +5 -3
- package/product.json +7 -5
- package/product.selfhosted.json +5 -3
- package/vendor/sandbox/sandbox-cli +0 -0
- package/vendor/sandbox/sandbox-cli.exe +0 -0
- package/vendor/sandbox/sandbox_ffi.dll +0 -0
- package/vendor/sandbox/tsbx.dll +0 -0
- package/vendor/sandbox/tsbx_sdk.dll +0 -0
package/dist/web-ui/index.html
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
20
20
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
21
21
|
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
22
|
-
<script type="module" crossorigin src="/assets/index-
|
|
22
|
+
<script type="module" crossorigin src="/assets/index-BY1JTnsk.js"></script>
|
|
23
23
|
<link rel="modulepreload" crossorigin href="/assets/markdown-Ce2Umeb2.js">
|
|
24
24
|
<link rel="modulepreload" crossorigin href="/assets/vendor-DpYitQz5.js">
|
|
25
25
|
<link rel="stylesheet" crossorigin href="/assets/index-BjcZsltA.css">
|
package/dist/web-ui/sw.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
if(!self.define){let s,e={};const o=(o,n)=>(o=new URL(o+".js",n).href,e[o]||new Promise(e=>{if("document"in self){const s=document.createElement("script");s.src=o,s.onload=e,document.head.appendChild(s)}else s=o,importScripts(o),e()}).then(()=>{let s=e[o];if(!s)throw new Error(`Module ${o} didn’t register its module`);return s}));self.define=(n,i)=>{const l=s||("document"in self?document.currentScript.src:"")||location.href;if(e[l])return;let t={};const r=s=>o(s,l),
|
|
1
|
+
if(!self.define){let s,e={};const o=(o,n)=>(o=new URL(o+".js",n).href,e[o]||new Promise(e=>{if("document"in self){const s=document.createElement("script");s.src=o,s.onload=e,document.head.appendChild(s)}else s=o,importScripts(o),e()}).then(()=>{let s=e[o];if(!s)throw new Error(`Module ${o} didn’t register its module`);return s}));self.define=(n,i)=>{const l=s||("document"in self?document.currentScript.src:"")||location.href;if(e[l])return;let t={};const r=s=>o(s,l),a={module:{uri:l},exports:t,require:r};e[l]=Promise.all(n.map(s=>a[s]||r(s))).then(s=>(i(...s),t))}}define(["./workbox-e082a648"],function(s){"use strict";self.skipWaiting(),s.clientsClaim(),s.precacheAndRoute([{url:"logo.svg",revision:"6165db837a6039880af9705aa09be574"},{url:"index.html",revision:"6970ca00b3afab2b3f48f65a44e44d55"},{url:"assets/workbox-window.prod.es5-BIl4cyR9.js",revision:null},{url:"assets/vendor-DpYitQz5.js",revision:null},{url:"assets/octicons-CaZ_fok2.woff2",revision:null},{url:"assets/mfixx-CpAhKOZz.woff2",revision:null},{url:"assets/markdown-Ce2Umeb2.js",revision:null},{url:"assets/logo-iZVLr450.svg",revision:null},{url:"assets/index-DixJ0kqk.js",revision:null},{url:"assets/index-BjcZsltA.css",revision:null},{url:"assets/index-BY1JTnsk.js",revision:null},{url:"assets/fontawesome-B-jkhYfk.woff2",revision:null},{url:"assets/file-icons-C0jOugUK.woff2",revision:null},{url:"assets/devopicons-QN4QXivI.woff2",revision:null},{url:"logo.svg",revision:"6165db837a6039880af9705aa09be574"},{url:"manifest.webmanifest",revision:"ed76a251c8eb35918791b0d0a060a0c2"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("/index.html"),{denylist:[/^\/api/,/^\/gateway/,/^\/docs\//]})),s.registerRoute(/^https:\/\/fonts\.googleapis\.com/,new s.StaleWhileRevalidate({cacheName:"google-fonts-stylesheets",plugins:[]}),"GET"),s.registerRoute(/^https:\/\/fonts\.gstatic\.com/,new s.CacheFirst({cacheName:"google-fonts-webfonts",plugins:[new s.ExpirationPlugin({maxEntries:20,maxAgeSeconds:31536e3})]}),"GET")});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tencent-ai/codebuddy-code",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.95.0-next.dddd628.20260502",
|
|
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",
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
"url": "https://cnb.cool/codebuddy/codebuddy-code/-/issues"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
|
-
"access": "public"
|
|
32
|
+
"access": "public",
|
|
33
|
+
"tag": "next"
|
|
33
34
|
},
|
|
34
35
|
"scripts": {},
|
|
35
36
|
"devDependencies": {},
|
package/product.cloudhosted.json
CHANGED
|
@@ -94,7 +94,9 @@
|
|
|
94
94
|
"SendMessage",
|
|
95
95
|
"NotebookEdit",
|
|
96
96
|
"LSP",
|
|
97
|
-
"ComputerUse"
|
|
97
|
+
"ComputerUse",
|
|
98
|
+
"ImageGen",
|
|
99
|
+
"ImageEdit"
|
|
98
100
|
],
|
|
99
101
|
"tags": [
|
|
100
102
|
"cli",
|
|
@@ -407,6 +409,6 @@
|
|
|
407
409
|
"ScheduledTasks": true,
|
|
408
410
|
"SkillManage": false
|
|
409
411
|
},
|
|
410
|
-
"commit": "
|
|
411
|
-
"date": "2026-05-
|
|
412
|
+
"commit": "dddd62842dc01424ffe806de1755b26543900246",
|
|
413
|
+
"date": "2026-05-02T10:14:27.428Z"
|
|
412
414
|
}
|
package/product.internal.json
CHANGED
|
@@ -102,7 +102,9 @@
|
|
|
102
102
|
"SendMessage",
|
|
103
103
|
"NotebookEdit",
|
|
104
104
|
"LSP",
|
|
105
|
-
"ComputerUse"
|
|
105
|
+
"ComputerUse",
|
|
106
|
+
"ImageGen",
|
|
107
|
+
"ImageEdit"
|
|
106
108
|
],
|
|
107
109
|
"tags": [
|
|
108
110
|
"cli",
|
|
@@ -592,6 +594,6 @@
|
|
|
592
594
|
}
|
|
593
595
|
}
|
|
594
596
|
},
|
|
595
|
-
"commit": "
|
|
596
|
-
"date": "2026-05-
|
|
597
|
+
"commit": "dddd62842dc01424ffe806de1755b26543900246",
|
|
598
|
+
"date": "2026-05-02T10:14:27.386Z"
|
|
597
599
|
}
|
package/product.ioa.json
CHANGED
|
@@ -125,7 +125,9 @@
|
|
|
125
125
|
"NotebookEdit",
|
|
126
126
|
"LSP",
|
|
127
127
|
"SkillManage",
|
|
128
|
-
"ComputerUse"
|
|
128
|
+
"ComputerUse",
|
|
129
|
+
"ImageGen",
|
|
130
|
+
"ImageEdit"
|
|
129
131
|
],
|
|
130
132
|
"tags": [
|
|
131
133
|
"cli",
|
|
@@ -943,6 +945,6 @@
|
|
|
943
945
|
}
|
|
944
946
|
}
|
|
945
947
|
},
|
|
946
|
-
"commit": "
|
|
947
|
-
"date": "2026-05-
|
|
948
|
+
"commit": "dddd62842dc01424ffe806de1755b26543900246",
|
|
949
|
+
"date": "2026-05-02T10:14:27.507Z"
|
|
948
950
|
}
|
package/product.json
CHANGED
|
@@ -541,7 +541,7 @@
|
|
|
541
541
|
},
|
|
542
542
|
{
|
|
543
543
|
"name": "tool-bash-description",
|
|
544
|
-
"template": "Executes a given bash command and returns its output.\n\nThe working directory persists between commands, but shell state does not. The shell environment is initialized from the user's profile.\n\nIMPORTANT: The user's default shell is {{defaultShell}}. Generate commands using syntax compatible with this shell.\n\n{% if platform == 'win32' %}\nIMPORTANT: On Windows, this tool uses Git Bash. Windows-specific notes:\n- Use forward slashes `/` in paths (Git Bash handles conversion automatically)\n- Standard Unix commands are available (ls, grep, cat, sed, awk, etc.)\n- For Windows-specific operations (registry, services, COM objects, .NET), consider using the PowerShell tool instead\n- Avoid CMD-style null redirects (`2>nul`) — use POSIX `2>/dev/null` instead\n- Drive paths are accessible as `/c/`, `/d/` etc. (e.g., `/c/Users/name/`)\n{% endif %}\n\nIMPORTANT: Avoid using this tool to run `cat`, `head`, `tail`, `sed`, `awk`, or `echo` commands, unless explicitly instructed or after you have verified that a dedicated tool cannot accomplish your task. Instead, use the appropriate dedicated tool as this will provide a much better experience for the user:\n\n- Read files: Use Read (NOT cat/head/tail)\n- Edit files: Use Edit (NOT sed/awk)\n- Write files: Use Write (NOT echo >/cat <<EOF)\n- Communication: Output text directly (NOT echo/printf)\n\nIMPORTANT: Avoid using this tool to run `find`, `grep`, or `rg` commands, unless explicitly instructed or after you have verified that a dedicated tool cannot accomplish your task. Instead, use the appropriate dedicated tool as this will provide a much better experience for the user:\n\n- File search: Use Glob (NOT find or ls)\n- Content search: Use Grep (NOT grep or rg)\n\nWhile the Bash tool can do similar things, it’s better to use the built-in tools as they provide a better user experience and make it easier to review tool calls and give permission.\n\n# Instructions\n- If your command will create new directories or files, first use this tool to run `ls` to verify the parent directory exists and is the correct location.\n- Always quote file paths that contain spaces with double quotes in your command (e.g., cd \"path with spaces/file.txt\").\n- Try to maintain your current working directory throughout the session by using absolute paths and avoiding usage of `cd`. You may use `cd` if the User explicitly requests it. In particular, never prepend `cd <current-directory>` to a `git` command — `git` already operates on the current working tree, and the compound triggers a permission prompt.\n- You may specify an optional timeout in milliseconds (up to {{bashMaxTimeoutMs}}ms). When the command may run longer than a few seconds (installers, build steps, long-running helper binaries, data processing) prefer to **omit the `timeout` parameter entirely** — the system default ({{bashDefaultTimeoutMs}}ms) is controlled by `BASH_DEFAULT_TIMEOUT_MS` and lets the user tune it without editing prompts. Only specify an explicit `timeout` when the command has a known short upper bound (e.g. a quick probe, a health check).\n- Non-interactive runs (`--print`/`-p`, `--output-format stream-json`) exit the process as soon as the main agent finishes its turn, even if earlier commands spawned background or long-running child processes. When designing multi-step workflows (skills, scripts that kick off build/analysis pipelines), either await the child process in the foreground (do not `nohup ... &` + return immediately) or plan the turns so the final step collects the artifact/exit status before the agent returns.\n- You can use the `run_in_background` parameter to run the command in the background.
|
|
544
|
+
"template": "Executes a given bash command and returns its output.\n\nThe working directory persists between commands, but shell state does not. The shell environment is initialized from the user's profile.\n\nIMPORTANT: The user's default shell is {{defaultShell}}. Generate commands using syntax compatible with this shell.\n\n{% if platform == 'win32' %}\nIMPORTANT: On Windows, this tool uses Git Bash. Windows-specific notes:\n- Use forward slashes `/` in paths (Git Bash handles conversion automatically)\n- Standard Unix commands are available (ls, grep, cat, sed, awk, etc.)\n- For Windows-specific operations (registry, services, COM objects, .NET), consider using the PowerShell tool instead\n- Avoid CMD-style null redirects (`2>nul`) — use POSIX `2>/dev/null` instead\n- Drive paths are accessible as `/c/`, `/d/` etc. (e.g., `/c/Users/name/`)\n{% endif %}\n\nIMPORTANT: Avoid using this tool to run `cat`, `head`, `tail`, `sed`, `awk`, or `echo` commands, unless explicitly instructed or after you have verified that a dedicated tool cannot accomplish your task. Instead, use the appropriate dedicated tool as this will provide a much better experience for the user:\n\n- Read files: Use Read (NOT cat/head/tail)\n- Edit files: Use Edit (NOT sed/awk)\n- Write files: Use Write (NOT echo >/cat <<EOF)\n- Communication: Output text directly (NOT echo/printf)\n\nIMPORTANT: Avoid using this tool to run `find`, `grep`, or `rg` commands, unless explicitly instructed or after you have verified that a dedicated tool cannot accomplish your task. Instead, use the appropriate dedicated tool as this will provide a much better experience for the user:\n\n- File search: Use Glob (NOT find or ls)\n- Content search: Use Grep (NOT grep or rg)\n\nWhile the Bash tool can do similar things, it’s better to use the built-in tools as they provide a better user experience and make it easier to review tool calls and give permission.\n\n# Instructions\n- If your command will create new directories or files, first use this tool to run `ls` to verify the parent directory exists and is the correct location.\n- Always quote file paths that contain spaces with double quotes in your command (e.g., cd \"path with spaces/file.txt\").\n- Try to maintain your current working directory throughout the session by using absolute paths and avoiding usage of `cd`. You may use `cd` if the User explicitly requests it. In particular, never prepend `cd <current-directory>` to a `git` command — `git` already operates on the current working tree, and the compound triggers a permission prompt.\n- You may specify an optional timeout in milliseconds (up to {{bashMaxTimeoutMs}}ms). When the command may run longer than a few seconds (installers, build steps, long-running helper binaries, data processing) prefer to **omit the `timeout` parameter entirely** — the system default ({{bashDefaultTimeoutMs}}ms) is controlled by `BASH_DEFAULT_TIMEOUT_MS` and lets the user tune it without editing prompts. Only specify an explicit `timeout` when the command has a known short upper bound (e.g. a quick probe, a health check).\n- Non-interactive runs (`--print`/`-p`, `--output-format stream-json`) exit the process as soon as the main agent finishes its turn, even if earlier commands spawned background or long-running child processes. When designing multi-step workflows (skills, scripts that kick off build/analysis pipelines), either await the child process in the foreground (do not `nohup ... &` + return immediately) or plan the turns so the final step collects the artifact/exit status before the agent returns.\n- You can use the `run_in_background` parameter to run the command in the background. Prefer setting this to `true` for known long-running commands — installs, builds, image pulls, long tests, servers, etc. Examples: `yarn install/package/build`, `npm install/build`, `pnpm install`, `docker build/pull`, `cargo build`, `make`, `mvn package`, `go build`, `gradle build`. Once backgrounded you will receive a `task_id`; use the `TaskOutput` tool with that id to poll progress or fetch completed output. You do not need to use '&' at the end of the command when using this parameter.\n- If you forget `run_in_background` on a long command and it hits the foreground timeout, the command will **auto-background instead of being killed** (no SIGTERM, no state loss). The tool result will tell you the new `task_id` so you can pick it up with `TaskOutput`. This covers most long commands; the only exception is `sleep`, which is never auto-backgrounded because its timeout is usually the point of the command.\n- When issuing multiple commands:\n - If the commands are independent and can run in parallel, make multiple Bash tool calls in a single message. Example: if you need to run \"git status\" and \"git diff\", send a single message with two Bash tool calls in parallel.\n - If the commands depend on each other and must run sequentially, use a single Bash call with '&&' to chain them together.\n - Use ';' only when you need to run commands sequentially but don't care if earlier commands fail.\n - DO NOT use newlines to separate commands (newlines are ok in quoted strings).\n- For git commands:\n - For creating commits, use the `/commit` command — it handles git safety protocol, HEREDOC formatting, and pre-commit hook recovery.\n - For committing, pushing, and opening a PR, use the `/commit-push-pr` command.\n - Prefer creating a new commit rather than amending an existing commit.\n - Before running destructive operations (e.g., `git reset --hard`, `git push --force`, `git checkout --`), consider whether there is a safer alternative. Only use destructive operations when they are truly the best approach.\n - Never skip hooks (`--no-verify`) or bypass signing (`--no-gpg-sign`, `-c commit.gpgsign=false`) unless the user has explicitly asked for it. If a hook fails, investigate and fix the underlying issue.\n- Avoid unnecessary `sleep` commands:\n - Do not sleep between commands that can run immediately — just run them.\n - If your command is long running and you would like to be notified when it finishes — use `run_in_background`. No sleep needed.\n - Do not retry failing commands in a sleep loop — diagnose the root cause.\n - If waiting for a background task you started with `run_in_background`, check its output using the returned task id — do not poll in a sleep loop.\n - If you must poll an external process, use a check command (e.g. `gh run view`) rather than sleeping first.\n - If you must sleep, keep the duration short (1-5 seconds) to avoid blocking the user.\n- For GitHub operations (issues, PR checks, releases, comments), use the `gh` command via the Bash tool. If given a GitHub URL, use `gh` to get the information. Example: view PR comments via `gh api repos/foo/bar/pulls/123/comments`.\n"
|
|
545
545
|
},
|
|
546
546
|
{
|
|
547
547
|
"name": "tool-powershell-description",
|
|
@@ -617,7 +617,7 @@
|
|
|
617
617
|
},
|
|
618
618
|
{
|
|
619
619
|
"name": "tool-websearch-description",
|
|
620
|
-
"template": "\n-
|
|
620
|
+
"template": "\n- Searches the web and uses the results to inform responses\n- Provides up-to-date information for current events and recent data\n- Returns search result information formatted as search result blocks\n- Use this tool for accessing information beyond the knowledge cutoff\n- Searches are performed automatically within a single API call\n\nUsage notes:\n - Domain filtering is supported to include or block specific websites\n - Account for \"Today's date\" in <env>. For example, if <env> says \"Today's date: 2025-07-01\", and the user wants the latest docs, do not use 2024 in the search query. Use 2025.\n - Use `query_keyword_groups` when comparisons, explicit multi-topic research, or coverage-improving query variants across phrasings/languages/sub-angles are helpful; keep `query` as the main intent, max 5 groups.\n Example: \"NVIDIA stock and AI chip market latest news\" → query_keyword_groups: [\"NVIDIA stock latest news\", \"AI chip market latest news\", \"英伟达 股价 AI芯片 最新动态\"]\n - Use the `topic` parameter to specify the search domain for better relevance. Supported values: general (default), news, programming, documentation, academic, finance, technology, legal, medical.\n"
|
|
621
621
|
},
|
|
622
622
|
{
|
|
623
623
|
"name": "tool-enterplanmode-description",
|
|
@@ -929,7 +929,9 @@
|
|
|
929
929
|
"LSP",
|
|
930
930
|
"WeChatReply",
|
|
931
931
|
"WeComReply",
|
|
932
|
-
"ComputerUse"
|
|
932
|
+
"ComputerUse",
|
|
933
|
+
"ImageGen",
|
|
934
|
+
"ImageEdit"
|
|
933
935
|
],
|
|
934
936
|
"tags": [
|
|
935
937
|
"cli",
|
|
@@ -1517,6 +1519,6 @@
|
|
|
1517
1519
|
"description": "Send a reply to a WeCom (企业微信) user. For text: pass text (markdown supported)."
|
|
1518
1520
|
}
|
|
1519
1521
|
],
|
|
1520
|
-
"commit": "
|
|
1521
|
-
"date": "2026-05-
|
|
1522
|
+
"commit": "dddd62842dc01424ffe806de1755b26543900246",
|
|
1523
|
+
"date": "2026-05-02T10:14:27.543Z"
|
|
1522
1524
|
}
|
package/product.selfhosted.json
CHANGED
|
@@ -88,7 +88,9 @@
|
|
|
88
88
|
"SendMessage",
|
|
89
89
|
"NotebookEdit",
|
|
90
90
|
"LSP",
|
|
91
|
-
"ComputerUse"
|
|
91
|
+
"ComputerUse",
|
|
92
|
+
"ImageGen",
|
|
93
|
+
"ImageEdit"
|
|
92
94
|
],
|
|
93
95
|
"tags": [
|
|
94
96
|
"cli",
|
|
@@ -294,6 +296,6 @@
|
|
|
294
296
|
"DeferToolLoading": true,
|
|
295
297
|
"ScheduledTasks": true
|
|
296
298
|
},
|
|
297
|
-
"commit": "
|
|
298
|
-
"date": "2026-05-
|
|
299
|
+
"commit": "dddd62842dc01424ffe806de1755b26543900246",
|
|
300
|
+
"date": "2026-05-02T10:14:27.337Z"
|
|
299
301
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/vendor/sandbox/tsbx.dll
CHANGED
|
Binary file
|
|
Binary file
|