@tencent-ai/codebuddy-code 2.123.1 → 2.124.0-dev.c6725cd.202607181814
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 +18 -0
- package/dist/codebuddy-headless.js +99 -98
- package/dist/codebuddy.js +112 -111
- package/package.json +4 -2
- package/product.cloudhosted.json +5 -2
- package/product.internal.json +5 -2
- package/product.ioa.json +5 -2
- package/product.json +13 -2
- package/product.selfhosted.json +4 -2
- package/vendor/toybox-macos/toybox +0 -0
- package/vendor/zsh-macos/bin/zsh +0 -0
- package/lib/node/index.js +0 -30
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tencent-ai/codebuddy-code",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.124.0-dev.c6725cd.202607181814",
|
|
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",
|
|
7
7
|
"license": "SEE LICENSE IN README.md",
|
|
8
8
|
"bin": {
|
|
9
|
+
"codebuddy-code": "./bin/codebuddy",
|
|
9
10
|
"codebuddy": "./bin/codebuddy",
|
|
10
11
|
"cbc": "./bin/codebuddy",
|
|
11
12
|
"cbc-prewarm": "./bin/cbc-prewarm"
|
|
@@ -42,7 +43,8 @@
|
|
|
42
43
|
"url": "https://cnb.cool/codebuddy/codebuddy-code/-/issues"
|
|
43
44
|
},
|
|
44
45
|
"publishConfig": {
|
|
45
|
-
"access": "public"
|
|
46
|
+
"access": "public",
|
|
47
|
+
"tag": "dev"
|
|
46
48
|
},
|
|
47
49
|
"scripts": {},
|
|
48
50
|
"devDependencies": {}
|
package/product.cloudhosted.json
CHANGED
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"NotebookEdit",
|
|
52
52
|
"LSP",
|
|
53
53
|
"ImageGen",
|
|
54
|
+
"ShareLink",
|
|
54
55
|
"EnterWorktree",
|
|
55
56
|
"LeaveWorktree",
|
|
56
57
|
"CronCreate",
|
|
@@ -102,6 +103,7 @@
|
|
|
102
103
|
"ComputerUse",
|
|
103
104
|
"ImageGen",
|
|
104
105
|
"ImageEdit",
|
|
106
|
+
"ShareLink",
|
|
105
107
|
"ListMcpResources",
|
|
106
108
|
"ReadMcpResource",
|
|
107
109
|
"WaitForMcpServers"
|
|
@@ -822,11 +824,12 @@
|
|
|
822
824
|
"CustomModelIdPrefix": true,
|
|
823
825
|
"DeferToolLoading": true,
|
|
824
826
|
"ImageGen": true,
|
|
827
|
+
"ShareLink": true,
|
|
825
828
|
"ScheduledTasks": true,
|
|
826
829
|
"SkillManage": false,
|
|
827
830
|
"SelectImage": true,
|
|
828
831
|
"SkipToolCallSupportCheck": true
|
|
829
832
|
},
|
|
830
|
-
"commit": "
|
|
831
|
-
"date": "2026-07-
|
|
833
|
+
"commit": "d2f73eecf45d8628dfeadb1b7bf7df85695f2697",
|
|
834
|
+
"date": "2026-07-18T10:13:26.245Z"
|
|
832
835
|
}
|
package/product.internal.json
CHANGED
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"LSP",
|
|
61
61
|
"ImageGen",
|
|
62
62
|
"VideoGen",
|
|
63
|
+
"ShareLink",
|
|
63
64
|
"EnterWorktree",
|
|
64
65
|
"LeaveWorktree",
|
|
65
66
|
"CronCreate",
|
|
@@ -112,6 +113,7 @@
|
|
|
112
113
|
"ImageGen",
|
|
113
114
|
"ImageEdit",
|
|
114
115
|
"VideoGen",
|
|
116
|
+
"ShareLink",
|
|
115
117
|
"ListMcpResources",
|
|
116
118
|
"ReadMcpResource",
|
|
117
119
|
"WaitForMcpServers"
|
|
@@ -760,6 +762,7 @@
|
|
|
760
762
|
"DeferToolLoading": true,
|
|
761
763
|
"ImageGen": true,
|
|
762
764
|
"VideoGen": true,
|
|
765
|
+
"ShareLink": true,
|
|
763
766
|
"RequestBodyGzip": true,
|
|
764
767
|
"ScheduledTasks": true,
|
|
765
768
|
"SkillManage": false,
|
|
@@ -784,6 +787,6 @@
|
|
|
784
787
|
}
|
|
785
788
|
}
|
|
786
789
|
},
|
|
787
|
-
"commit": "
|
|
788
|
-
"date": "2026-07-
|
|
790
|
+
"commit": "d2f73eecf45d8628dfeadb1b7bf7df85695f2697",
|
|
791
|
+
"date": "2026-07-18T10:13:26.245Z"
|
|
789
792
|
}
|
package/product.ioa.json
CHANGED
|
@@ -79,6 +79,7 @@
|
|
|
79
79
|
"LSP",
|
|
80
80
|
"ImageGen",
|
|
81
81
|
"ImageEdit",
|
|
82
|
+
"ShareLink",
|
|
82
83
|
"VideoGen",
|
|
83
84
|
"EnterWorktree",
|
|
84
85
|
"LeaveWorktree",
|
|
@@ -132,6 +133,7 @@
|
|
|
132
133
|
"ComputerUse",
|
|
133
134
|
"ImageGen",
|
|
134
135
|
"ImageEdit",
|
|
136
|
+
"ShareLink",
|
|
135
137
|
"VideoGen",
|
|
136
138
|
"ListMcpResources",
|
|
137
139
|
"ReadMcpResource",
|
|
@@ -1166,6 +1168,7 @@
|
|
|
1166
1168
|
"ImageGen": true,
|
|
1167
1169
|
"ImageEdit": true,
|
|
1168
1170
|
"VideoGen": true,
|
|
1171
|
+
"ShareLink": true,
|
|
1169
1172
|
"RequestBodyGzip": true,
|
|
1170
1173
|
"RemoteControl": true,
|
|
1171
1174
|
"ScheduledTasks": true,
|
|
@@ -1189,6 +1192,6 @@
|
|
|
1189
1192
|
}
|
|
1190
1193
|
}
|
|
1191
1194
|
},
|
|
1192
|
-
"commit": "
|
|
1193
|
-
"date": "2026-07-
|
|
1195
|
+
"commit": "d2f73eecf45d8628dfeadb1b7bf7df85695f2697",
|
|
1196
|
+
"date": "2026-07-18T10:13:26.245Z"
|
|
1194
1197
|
}
|
package/product.json
CHANGED
|
@@ -827,6 +827,10 @@
|
|
|
827
827
|
"name": "tool-videogen-description",
|
|
828
828
|
"template": "Generate video from text or image. Supports text-to-video and image-to-video.\n"
|
|
829
829
|
},
|
|
830
|
+
{
|
|
831
|
+
"name": "tool-sharelink-description",
|
|
832
|
+
"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"
|
|
833
|
+
},
|
|
830
834
|
{
|
|
831
835
|
"name": "tool-computeruse-description",
|
|
832
836
|
"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"
|
|
@@ -1053,6 +1057,7 @@
|
|
|
1053
1057
|
"LSP",
|
|
1054
1058
|
"ImageGen",
|
|
1055
1059
|
"ImageEdit",
|
|
1060
|
+
"ShareLink",
|
|
1056
1061
|
"VideoGen",
|
|
1057
1062
|
"EnterWorktree",
|
|
1058
1063
|
"LeaveWorktree",
|
|
@@ -1488,6 +1493,7 @@
|
|
|
1488
1493
|
"DeferToolLoading": true,
|
|
1489
1494
|
"ImageEdit": false,
|
|
1490
1495
|
"VideoGen": true,
|
|
1496
|
+
"ShareLink": true,
|
|
1491
1497
|
"ScheduledTasks": true,
|
|
1492
1498
|
"SkillManage": false,
|
|
1493
1499
|
"SkipToolCallSupportCheck": true,
|
|
@@ -1703,6 +1709,11 @@
|
|
|
1703
1709
|
"description": "tool-videogen-description",
|
|
1704
1710
|
"deferLoading": true
|
|
1705
1711
|
},
|
|
1712
|
+
{
|
|
1713
|
+
"name": "ShareLink",
|
|
1714
|
+
"description": "tool-sharelink-description",
|
|
1715
|
+
"deferLoading": true
|
|
1716
|
+
},
|
|
1706
1717
|
{
|
|
1707
1718
|
"name": "ComputerUse",
|
|
1708
1719
|
"description": "tool-computeruse-description",
|
|
@@ -1765,6 +1776,6 @@
|
|
|
1765
1776
|
"deferLoading": true
|
|
1766
1777
|
}
|
|
1767
1778
|
],
|
|
1768
|
-
"commit": "
|
|
1769
|
-
"date": "2026-07-
|
|
1779
|
+
"commit": "d2f73eecf45d8628dfeadb1b7bf7df85695f2697",
|
|
1780
|
+
"date": "2026-07-18T10:13:26.293Z"
|
|
1770
1781
|
}
|
package/product.selfhosted.json
CHANGED
|
@@ -96,6 +96,7 @@
|
|
|
96
96
|
"ComputerUse",
|
|
97
97
|
"ImageGen",
|
|
98
98
|
"ImageEdit",
|
|
99
|
+
"ShareLink",
|
|
99
100
|
"ListMcpResources",
|
|
100
101
|
"ReadMcpResource",
|
|
101
102
|
"WaitForMcpServers"
|
|
@@ -334,6 +335,7 @@
|
|
|
334
335
|
},
|
|
335
336
|
"productFeatures": {
|
|
336
337
|
"BillingNotice": false,
|
|
338
|
+
"ShareLink": true,
|
|
337
339
|
"CodeAdoptionRate": false,
|
|
338
340
|
"CloudAgentsSmartMerge": true,
|
|
339
341
|
"CustomModelsJSON": true,
|
|
@@ -342,6 +344,6 @@
|
|
|
342
344
|
"ScheduledTasks": true,
|
|
343
345
|
"SkipToolCallSupportCheck": true
|
|
344
346
|
},
|
|
345
|
-
"commit": "
|
|
346
|
-
"date": "2026-07-
|
|
347
|
+
"commit": "d2f73eecf45d8628dfeadb1b7bf7df85695f2697",
|
|
348
|
+
"date": "2026-07-18T10:13:26.245Z"
|
|
347
349
|
}
|
|
Binary file
|
package/vendor/zsh-macos/bin/zsh
CHANGED
|
Binary file
|
package/lib/node/index.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TUI mode entry point — full module set.
|
|
3
|
-
*
|
|
4
|
-
* Re-exports all shared modules from index-shared.ts, then adds TUI-only modules.
|
|
5
|
-
* The shared file is the DEFAULT place to add new modules.
|
|
6
|
-
* Only add exports here if the module has hard TUI dependencies
|
|
7
|
-
* (e.g., imports from ./ui, ink, react, TUI panels).
|
|
8
|
-
*
|
|
9
|
-
* See also: index-headless.ts (headless/SDK entry point)
|
|
10
|
-
*/
|
|
11
|
-
import './process';
|
|
12
|
-
export * from './index-shared';
|
|
13
|
-
// ── TUI-only modules ─────────────────────────────────────────────────
|
|
14
|
-
// These modules are excluded from headless builds because they depend on
|
|
15
|
-
// TUI rendering (ink/react), heavy optional deps, or interactive-only features.
|
|
16
|
-
export * from './doctor'; // CLI diagnostics wizard
|
|
17
|
-
export * from './install'; // CLI install / shell-setup
|
|
18
|
-
export * from './navigation'; // TUI page routing
|
|
19
|
-
export * from './remote-control'; // Remote control via WeChat etc.
|
|
20
|
-
export * from './remote-gateway'; // Remote gateway (local + cloud)
|
|
21
|
-
export * from './resume'; // ResumeMiddleware (imports TUI panel)
|
|
22
|
-
export * from './sandbox'; // e2b sandbox (heavy deps ~1250 modules)
|
|
23
|
-
export * from './shortcut'; // TUI keyboard shortcuts
|
|
24
|
-
export * from './tips'; // TUI tips / user state tracking
|
|
25
|
-
export * from './worktree'; // Git worktree management
|
|
26
|
-
export * from './ui'; // TUI UI components
|
|
27
|
-
export * from './feedback-survey'; // TUI feedback survey
|
|
28
|
-
export * from './undo-redo'; // TUI undo/redo
|
|
29
|
-
export * from './prompt-suggestion'; // TUI prompt suggestions
|
|
30
|
-
//# sourceMappingURL=index.js.map
|