@tencent-ai/agent-sdk 0.3.194 → 0.3.195
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 +19 -0
- package/cli/dist/codebuddy-headless.js +173 -173
- 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 +2 -2
- package/cli/product.selfhosted.json +2 -2
- package/cli/vendor/shim/genie-safe-delete.cjs +9 -5
- 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.114.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",
|
|
@@ -824,6 +824,6 @@
|
|
|
824
824
|
"SelectImage": true,
|
|
825
825
|
"SkipToolCallSupportCheck": true
|
|
826
826
|
},
|
|
827
|
-
"commit": "
|
|
828
|
-
"date": "2026-06-
|
|
827
|
+
"commit": "f9e0e60f2740e62879890010863dbd0d23750fde",
|
|
828
|
+
"date": "2026-06-29T12:24:47.770Z"
|
|
829
829
|
}
|
package/cli/product.ioa.json
CHANGED
package/cli/product.json
CHANGED
|
@@ -339,6 +339,6 @@
|
|
|
339
339
|
"ScheduledTasks": true,
|
|
340
340
|
"SkipToolCallSupportCheck": true
|
|
341
341
|
},
|
|
342
|
-
"commit": "
|
|
343
|
-
"date": "2026-06-
|
|
342
|
+
"commit": "f9e0e60f2740e62879890010863dbd0d23750fde",
|
|
343
|
+
"date": "2026-06-29T12:24:47.759Z"
|
|
344
344
|
}
|
|
@@ -150,6 +150,14 @@ function isManagedNodeStagingName(name) {
|
|
|
150
150
|
return !!match && /[A-Za-z]/.test(match[1]) && /\d/.test(match[1]);
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
+
function isManagedNodeStagingRoot(parts, nodeModulesIndex) {
|
|
154
|
+
if (parts[nodeModulesIndex] !== 'node_modules') return false;
|
|
155
|
+
const stagingName = parts[nodeModulesIndex + 1];
|
|
156
|
+
if (!stagingName || !isManagedNodeStagingName(stagingName)) return false;
|
|
157
|
+
return (parts[2] === 'versions' && nodeModulesIndex === 4)
|
|
158
|
+
|| (parts[2] === 'cli-connector-packages' && nodeModulesIndex >= 3);
|
|
159
|
+
}
|
|
160
|
+
|
|
153
161
|
function isWorkBuddyManagedNodeInstallStagingPath(absPath) {
|
|
154
162
|
const target = normalizePathForCompare(absPath);
|
|
155
163
|
return WORKBUDDY_CONFIG_DIRS.some(configDir => {
|
|
@@ -160,11 +168,7 @@ function isWorkBuddyManagedNodeInstallStagingPath(absPath) {
|
|
|
160
168
|
|
|
161
169
|
const parts = rel.split(path.sep).filter(Boolean);
|
|
162
170
|
if (parts[0] !== 'binaries' || parts[1] !== 'node') return false;
|
|
163
|
-
|
|
164
|
-
const stagingName = parts[nodeModulesIndex + 1];
|
|
165
|
-
if (nodeModulesIndex < 0 || !stagingName || !isManagedNodeStagingName(stagingName)) return false;
|
|
166
|
-
return (parts[2] === 'versions' && nodeModulesIndex === 4)
|
|
167
|
-
|| parts[2] === 'cli-connector-packages';
|
|
171
|
+
return parts.some((part, index) => part === 'node_modules' && isManagedNodeStagingRoot(parts, index));
|
|
168
172
|
});
|
|
169
173
|
}
|
|
170
174
|
|