@tencent-ai/agent-sdk 0.3.233 → 0.3.234
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 +454 -307
- package/cli/dist/web-ui/assets/{index-Si_iqq2l.js → index-Dl8Dlnne.js} +60 -60
- package/cli/dist/web-ui/index.html +1 -1
- package/cli/dist/web-ui/sw.js +1 -1
- package/cli/package.json +1 -1
- package/cli/product.cloudhosted.json +6 -3
- package/cli/product.internal.json +6 -3
- package/cli/product.ioa.json +6 -3
- package/cli/product.json +19 -4
- package/cli/product.selfhosted.json +5 -3
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
|
16
16
|
<meta name="mobile-web-app-capable" content="yes">
|
|
17
17
|
<link rel="apple-touch-icon" href="/pwa-icon.svg">
|
|
18
|
-
<script type="module" crossorigin src="/assets/index-
|
|
18
|
+
<script type="module" crossorigin src="/assets/index-Dl8Dlnne.js"></script>
|
|
19
19
|
<link rel="modulepreload" crossorigin href="/assets/markdown-CP9awqWt.js">
|
|
20
20
|
<link rel="modulepreload" crossorigin href="/assets/vendor-iLJwFVtf.js">
|
|
21
21
|
<link rel="stylesheet" crossorigin href="/assets/index-BmV1Q3hC.css">
|
package/cli/dist/web-ui/sw.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
if(!self.define){let s
|
|
1
|
+
if(!self.define){let e,s={};const n=(n,o)=>(n=new URL(n+".js",o).href,s[n]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=s,document.head.appendChild(e)}else e=n,importScripts(n),s()}).then(()=>{let e=s[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e}));self.define=(o,i)=>{const l=e||("document"in self?document.currentScript.src:"")||location.href;if(s[l])return;let r={};const t=e=>n(e,l),f={module:{uri:l},exports:r,require:t};s[l]=Promise.all(o.map(e=>f[e]||t(e))).then(e=>(i(...e),r))}}define(["./workbox-fed2bdfe"],function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"sandbox_proxy.html",revision:"e54bd087bf8b90d87d84c3cd8f2c22e9"},{url:"pwa-icon.svg",revision:"673adddf1548f59682764258005b6034"},{url:"logo.svg",revision:"269aa921a3f446f8e17843c89ed7bf35"},{url:"index.html",revision:"384e5ef8d717460fa7e6dd3c9b11493b"},{url:"assets/workbox-window.prod.es5-BBnX5xw4.js",revision:null},{url:"assets/vendor-iLJwFVtf.js",revision:null},{url:"assets/octicons-CaZ_fok2.woff2",revision:null},{url:"assets/mfixx-CpAhKOZz.woff2",revision:null},{url:"assets/markdown-CP9awqWt.js",revision:null},{url:"assets/index-Dl8Dlnne.js",revision:null},{url:"assets/index-DixJ0kqk.js",revision:null},{url:"assets/index-BmV1Q3hC.css",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:"269aa921a3f446f8e17843c89ed7bf35"},{url:"pwa-icon.svg",revision:"673adddf1548f59682764258005b6034"},{url:"manifest.webmanifest",revision:"7a003d0094122eb3e607566c757e9885"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("/index.html"),{denylist:[/^\/api/,/^\/gateway/,/^\/docs\//]})),e.registerRoute(/^https:\/\/fonts\.googleapis\.com/,new e.StaleWhileRevalidate({cacheName:"google-fonts-stylesheets",plugins:[]}),"GET"),e.registerRoute(/^https:\/\/fonts\.gstatic\.com/,new e.CacheFirst({cacheName:"google-fonts-webfonts",plugins:[new e.ExpirationPlugin({maxEntries:20,maxAgeSeconds:31536e3})]}),"GET")});
|
package/cli/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tencent-ai/codebuddy-code",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.129.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",
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
"LSP",
|
|
53
53
|
"ImageGen",
|
|
54
54
|
"ShareLink",
|
|
55
|
+
"ShareLinkUnpublish",
|
|
55
56
|
"EnterWorktree",
|
|
56
57
|
"LeaveWorktree",
|
|
57
58
|
"CronCreate",
|
|
@@ -66,7 +67,8 @@
|
|
|
66
67
|
"ListMcpResources",
|
|
67
68
|
"ReadMcpResource",
|
|
68
69
|
"WaitForMcpServers",
|
|
69
|
-
"Workflow"
|
|
70
|
+
"Workflow",
|
|
71
|
+
"Monitor"
|
|
70
72
|
],
|
|
71
73
|
"tags": [
|
|
72
74
|
"cli",
|
|
@@ -106,6 +108,7 @@
|
|
|
106
108
|
"ImageGen",
|
|
107
109
|
"ImageEdit",
|
|
108
110
|
"ShareLink",
|
|
111
|
+
"ShareLinkUnpublish",
|
|
109
112
|
"ListMcpResources",
|
|
110
113
|
"ReadMcpResource",
|
|
111
114
|
"WaitForMcpServers"
|
|
@@ -832,6 +835,6 @@
|
|
|
832
835
|
"SelectImage": true,
|
|
833
836
|
"SkipToolCallSupportCheck": true
|
|
834
837
|
},
|
|
835
|
-
"commit": "
|
|
836
|
-
"date": "2026-07-
|
|
838
|
+
"commit": "938554d565d1e3fb5a6bb3c80df43c9fcd905775",
|
|
839
|
+
"date": "2026-07-29T13:49:13.959Z"
|
|
837
840
|
}
|
|
@@ -66,6 +66,7 @@
|
|
|
66
66
|
"ImageGen",
|
|
67
67
|
"VideoGen",
|
|
68
68
|
"ShareLink",
|
|
69
|
+
"ShareLinkUnpublish",
|
|
69
70
|
"EnterWorktree",
|
|
70
71
|
"LeaveWorktree",
|
|
71
72
|
"CronCreate",
|
|
@@ -80,7 +81,8 @@
|
|
|
80
81
|
"ListMcpResources",
|
|
81
82
|
"ReadMcpResource",
|
|
82
83
|
"WaitForMcpServers",
|
|
83
|
-
"Workflow"
|
|
84
|
+
"Workflow",
|
|
85
|
+
"Monitor"
|
|
84
86
|
],
|
|
85
87
|
"tags": [
|
|
86
88
|
"cli",
|
|
@@ -121,6 +123,7 @@
|
|
|
121
123
|
"ImageEdit",
|
|
122
124
|
"VideoGen",
|
|
123
125
|
"ShareLink",
|
|
126
|
+
"ShareLinkUnpublish",
|
|
124
127
|
"ListMcpResources",
|
|
125
128
|
"ReadMcpResource",
|
|
126
129
|
"WaitForMcpServers"
|
|
@@ -815,6 +818,6 @@
|
|
|
815
818
|
}
|
|
816
819
|
}
|
|
817
820
|
},
|
|
818
|
-
"commit": "
|
|
819
|
-
"date": "2026-07-
|
|
821
|
+
"commit": "938554d565d1e3fb5a6bb3c80df43c9fcd905775",
|
|
822
|
+
"date": "2026-07-29T13:49:13.888Z"
|
|
820
823
|
}
|
package/cli/product.ioa.json
CHANGED
|
@@ -87,6 +87,7 @@
|
|
|
87
87
|
"ImageGen",
|
|
88
88
|
"ImageEdit",
|
|
89
89
|
"ShareLink",
|
|
90
|
+
"ShareLinkUnpublish",
|
|
90
91
|
"VideoGen",
|
|
91
92
|
"EnterWorktree",
|
|
92
93
|
"LeaveWorktree",
|
|
@@ -102,7 +103,8 @@
|
|
|
102
103
|
"ListMcpResources",
|
|
103
104
|
"ReadMcpResource",
|
|
104
105
|
"WaitForMcpServers",
|
|
105
|
-
"Workflow"
|
|
106
|
+
"Workflow",
|
|
107
|
+
"Monitor"
|
|
106
108
|
],
|
|
107
109
|
"tags": [
|
|
108
110
|
"cli",
|
|
@@ -143,6 +145,7 @@
|
|
|
143
145
|
"ImageGen",
|
|
144
146
|
"ImageEdit",
|
|
145
147
|
"ShareLink",
|
|
148
|
+
"ShareLinkUnpublish",
|
|
146
149
|
"VideoGen",
|
|
147
150
|
"ListMcpResources",
|
|
148
151
|
"ReadMcpResource",
|
|
@@ -1311,6 +1314,6 @@
|
|
|
1311
1314
|
}
|
|
1312
1315
|
}
|
|
1313
1316
|
},
|
|
1314
|
-
"commit": "
|
|
1315
|
-
"date": "2026-07-
|
|
1317
|
+
"commit": "938554d565d1e3fb5a6bb3c80df43c9fcd905775",
|
|
1318
|
+
"date": "2026-07-29T13:49:14.022Z"
|
|
1316
1319
|
}
|
package/cli/product.json
CHANGED
|
@@ -735,7 +735,7 @@
|
|
|
735
735
|
},
|
|
736
736
|
{
|
|
737
737
|
"name": "tool-websearch-description",
|
|
738
|
-
"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
|
|
738
|
+
"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- You MUST use the current_time provided in the user message when searching for recent information.\n\nWhen to search:\n - For any factual question about the present-day world, you MUST search before answering; search before EVERY such question.\n - Your confidence on a topic is NOT an excuse to skip search. Present-day facts — who holds a role, what something costs, whether a law still applies, what's newest in a category — cannot come from training data.\n - Even seemingly familiar questions — for example asking about the price of a product or who currently leads a country — can be outdated, because prices and officeholders change frequently.\n - Proactively search instead of answering from your priors and offering to check.\n\nUsage notes:\n - The query must preserve the meaning of the user's request; keep the entity names, versions, dates and terms the user mentioned, and do not substitute or fill them in from prior knowledge.\n - Domain filtering is supported to include or block specific websites.\n"
|
|
739
739
|
},
|
|
740
740
|
{
|
|
741
741
|
"name": "tool-enterplanmode-description",
|
|
@@ -833,6 +833,10 @@
|
|
|
833
833
|
"name": "tool-sharelink-description",
|
|
834
834
|
"template": "Upload a local HTML file and return a shareable public link that renders the page.\n\nUse this tool when the user wants a shareable link (分享链接) or public URL for a single local HTML document — e.g. \"give me a shareable link\", \"publish this HTML\", \"把这个页面分享出去\".\n\nParameters:\n- filePath (required): absolute path to the local .html file to share.\n\nBehavior:\n- Deploys the HTML as a static site using your current session's credentials and returns a public link that opens/renders the page in a browser.\n- Only supports a single HTML file. For multi-file sites or build directories, this tool is not applicable.\n\nPresent only the returned shareLink to the user; do not expose internal identifiers.\n"
|
|
835
835
|
},
|
|
836
|
+
{
|
|
837
|
+
"name": "tool-sharelinkunpublish-description",
|
|
838
|
+
"template": "Revoke a previously shared link so it is no longer publicly accessible.\n\nUse this tool when the user wants to unpublish / take down / revoke / 取消分享 / 下线 a link that was created with the ShareLink tool — e.g. \"unpublish that link\", \"取消这个分享\", \"make it private again\", \"I shared a sensitive file, take it down\".\n\nParameters (provide at least one):\n- shareLink: the full share link URL returned by ShareLink (e.g. \"https://workbuddy.link/p/abc123\"). This is the easiest option — just pass back the link.\n- nodeId: alternatively, the bare identifier (the segment after \"/p/\" in the share link).\n\nBehavior:\n- Cancels the public website publication for the referenced page using your current session's credentials. After this succeeds, the link stops rendering publicly.\n- Works for links created in this session or earlier sessions, since the identifier is derivable from the link URL — no session history is required.\n\nIf the user only has the link text, pass it as shareLink; you do not need to ask them for an internal id.\n"
|
|
839
|
+
},
|
|
836
840
|
{
|
|
837
841
|
"name": "tool-computeruse-description",
|
|
838
842
|
"template": "Control the macOS desktop by taking screenshots and simulating mouse/keyboard\ninput. This tool follows Anthropic's `computer_20250124` parameter schema.\n\n**Experimental.** This tool is macOS-only and disabled unless\n`CODEBUDDY_COMPUTER_USE_ENABLED=1` is set in the environment. Behavior may\nchange in future releases. Each action requires the user's approval unless an\nallow rule is configured.\n\n## Actions\n\n- `screenshot` — Capture the current display. The image is returned\n directly in the tool_result so you can see it immediately — you do NOT\n need a separate Read call. Images are downscaled to 1280px on the longest\n edge and returned as JPEG to keep context costs low.\n\n **MANDATORY observation protocol (防幻视):**\n After EVERY screenshot, BEFORE any click/type/key action, your first\n response MUST be a literal pixel-level observation of what is actually\n visible in the returned image:\n - Top menu bar: which app name, which menu items\n - Active window: title bar text, which app owns it\n - Key regions: what text, buttons, input fields are visible; what is\n in each input; where the cursor/focus is\n - For list/candidate UIs (search results, contact lists, file pickers):\n describe the items near the coordinate you plan to click, including\n ±20px neighbors\n Do NOT skip observation and jump to the next action based on an expected\n workflow. Do NOT describe the screen from memory or assumption. If you\n cannot see an element you expected, say so and take another screenshot\n rather than guessing coordinates.\n\n- `left_click` / `right_click` / `middle_click` / `double_click` /\n `triple_click` / `mouse_move` — Interact with a point. Requires\n `coordinate: [x, y]` in logical pixels (top-left origin). Before any\n irreversible click (send message, confirm, submit), take a fresh\n screenshot and observe again.\n\n- `left_click_drag` — Press at `start_coordinate`, drag to `coordinate`,\n release. Both are `[x, y]` arrays.\n\n- `type` — Type arbitrary text (`text` field) at the current focus.\n Supports Unicode (including CJK). Do NOT use this for keyboard shortcuts.\n\n- `key` — Press a key or shortcut with xdotool syntax in the `text` field:\n `\"escape\"`, `\"return\"`, `\"cmd+shift+a\"`, `\"ctrl+c\"`. Supported modifiers:\n `cmd`, `ctrl`, `alt`/`option`, `shift`, `fn`. Supported named keys: return,\n tab, space, delete/backspace, escape, left, right, up, down, home, end,\n pageup, pagedown, f1-f12. Single characters use the character directly.\n\n- `hold_key` — Hold a single named key (`text`) for `duration` seconds.\n Modifiers are not supported in hold_key.\n\n- `scroll` — Scroll at `coordinate: [x, y]` in `scroll_direction`\n (up/down/left/right) for `scroll_amount` ticks (default 3). Requires\n cliclick (`brew install cliclick`).\n\n- `wait` — Pause for `duration` seconds. Use this to let UI transitions\n settle before another action.\n\n- `cursor_position` — Return the current mouse position.\n\n## Usage notes\n\n- Coordinates use LOGICAL pixels, not physical. Always take a fresh\n `screenshot` first — never reuse old coordinates.\n\n- Launching an app: prefer `key: \"cmd+space\"` (Spotlight) → `type: \"<app>\"`\n → `key: \"return\"` over hunting for Dock/desktop icons, which depends on\n unreliable UI layout.\n\n- Brand confusion on macOS: searching \"WeChat\" in Spotlight opens **企业\n 微信 (WeCom)**, not personal 微信 (WeChat). Search \"微信\" for personal\n WeChat. Always confirm the opened app by reading the top menu bar app\n name in the next screenshot.\n\n- First-time invocation may trigger macOS Accessibility / Screen Recording\n permission prompts. If an action returns a permission error, ask the user\n to open System Settings → Privacy & Security → Accessibility and enable\n their terminal application, then restart it.\n\n- `cliclick` is an optional dependency. When installed, it provides faster\n and more reliable mouse control and is required for `mouse_move`,\n `middle_click`, `triple_click`, `left_click_drag`, and `scroll`. Without\n it, the other actions fall back to AppleScript (osascript).\n"
|
|
@@ -1074,7 +1078,8 @@
|
|
|
1074
1078
|
"ListMcpResources",
|
|
1075
1079
|
"ReadMcpResource",
|
|
1076
1080
|
"WaitForMcpServers",
|
|
1077
|
-
"Workflow"
|
|
1081
|
+
"Workflow",
|
|
1082
|
+
"Monitor"
|
|
1078
1083
|
],
|
|
1079
1084
|
"tags": [
|
|
1080
1085
|
"cli",
|
|
@@ -1716,6 +1721,11 @@
|
|
|
1716
1721
|
"description": "tool-sharelink-description",
|
|
1717
1722
|
"deferLoading": true
|
|
1718
1723
|
},
|
|
1724
|
+
{
|
|
1725
|
+
"name": "ShareLinkUnpublish",
|
|
1726
|
+
"description": "tool-sharelinkunpublish-description",
|
|
1727
|
+
"deferLoading": true
|
|
1728
|
+
},
|
|
1719
1729
|
{
|
|
1720
1730
|
"name": "ComputerUse",
|
|
1721
1731
|
"description": "tool-computeruse-description",
|
|
@@ -1786,8 +1796,13 @@
|
|
|
1786
1796
|
"name": "Workflow",
|
|
1787
1797
|
"description": "workflow-tool-description",
|
|
1788
1798
|
"deferLoading": true
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
"name": "Monitor",
|
|
1802
|
+
"description": "tool-monitor-description",
|
|
1803
|
+
"deferLoading": true
|
|
1789
1804
|
}
|
|
1790
1805
|
],
|
|
1791
|
-
"commit": "
|
|
1792
|
-
"date": "2026-07-
|
|
1806
|
+
"commit": "938554d565d1e3fb5a6bb3c80df43c9fcd905775",
|
|
1807
|
+
"date": "2026-07-29T13:49:13.950Z"
|
|
1793
1808
|
}
|
|
@@ -59,7 +59,8 @@
|
|
|
59
59
|
"ListMcpResources",
|
|
60
60
|
"ReadMcpResource",
|
|
61
61
|
"WaitForMcpServers",
|
|
62
|
-
"Workflow"
|
|
62
|
+
"Workflow",
|
|
63
|
+
"Monitor"
|
|
63
64
|
],
|
|
64
65
|
"tags": [
|
|
65
66
|
"cli",
|
|
@@ -99,6 +100,7 @@
|
|
|
99
100
|
"ImageGen",
|
|
100
101
|
"ImageEdit",
|
|
101
102
|
"ShareLink",
|
|
103
|
+
"ShareLinkUnpublish",
|
|
102
104
|
"ListMcpResources",
|
|
103
105
|
"ReadMcpResource",
|
|
104
106
|
"WaitForMcpServers"
|
|
@@ -346,6 +348,6 @@
|
|
|
346
348
|
"ScheduledTasks": true,
|
|
347
349
|
"SkipToolCallSupportCheck": true
|
|
348
350
|
},
|
|
349
|
-
"commit": "
|
|
350
|
-
"date": "2026-07-
|
|
351
|
+
"commit": "938554d565d1e3fb5a6bb3c80df43c9fcd905775",
|
|
352
|
+
"date": "2026-07-29T13:49:14.021Z"
|
|
351
353
|
}
|