@tencent-ai/agent-sdk 0.3.194 → 0.3.195-dev.36ac8d2.202606301818

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencent-ai/codebuddy-code",
3
- "version": "2.113.0",
3
+ "version": "2.114.0-dev.36ac8d2.202606301817",
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",
@@ -42,7 +42,8 @@
42
42
  "url": "https://cnb.cool/codebuddy/codebuddy-code/-/issues"
43
43
  },
44
44
  "publishConfig": {
45
- "access": "public"
45
+ "access": "public",
46
+ "tag": "dev"
46
47
  },
47
48
  "scripts": {},
48
49
  "devDependencies": {}
@@ -824,6 +824,6 @@
824
824
  "SelectImage": true,
825
825
  "SkipToolCallSupportCheck": true
826
826
  },
827
- "commit": "7ea7dd384fd50920e6b908911c11c70700c1d7c6",
828
- "date": "2026-06-28T16:04:13.641Z"
827
+ "commit": "36ac8d29715beb49c40bfaf91f09504a0278bae1",
828
+ "date": "2026-06-30T10:16:48.984Z"
829
829
  }
@@ -703,6 +703,6 @@
703
703
  }
704
704
  }
705
705
  },
706
- "commit": "7ea7dd384fd50920e6b908911c11c70700c1d7c6",
707
- "date": "2026-06-28T16:04:13.641Z"
706
+ "commit": "36ac8d29715beb49c40bfaf91f09504a0278bae1",
707
+ "date": "2026-06-30T10:16:48.989Z"
708
708
  }
@@ -1113,6 +1113,6 @@
1113
1113
  }
1114
1114
  }
1115
1115
  },
1116
- "commit": "7ea7dd384fd50920e6b908911c11c70700c1d7c6",
1117
- "date": "2026-06-28T16:04:13.640Z"
1116
+ "commit": "36ac8d29715beb49c40bfaf91f09504a0278bae1",
1117
+ "date": "2026-06-30T10:16:48.984Z"
1118
1118
  }
package/cli/product.json CHANGED
@@ -1776,6 +1776,6 @@
1776
1776
  "deferLoading": true
1777
1777
  }
1778
1778
  ],
1779
- "commit": "7ea7dd384fd50920e6b908911c11c70700c1d7c6",
1780
- "date": "2026-06-28T16:04:13.661Z"
1779
+ "commit": "36ac8d29715beb49c40bfaf91f09504a0278bae1",
1780
+ "date": "2026-06-30T10:16:48.990Z"
1781
1781
  }
@@ -339,6 +339,6 @@
339
339
  "ScheduledTasks": true,
340
340
  "SkipToolCallSupportCheck": true
341
341
  },
342
- "commit": "7ea7dd384fd50920e6b908911c11c70700c1d7c6",
343
- "date": "2026-06-28T16:04:13.662Z"
342
+ "commit": "36ac8d29715beb49c40bfaf91f09504a0278bae1",
343
+ "date": "2026-06-30T10:16:48.987Z"
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
- const nodeModulesIndex = parts.lastIndexOf('node_modules');
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencent-ai/agent-sdk",
3
- "version": "0.3.194",
3
+ "version": "0.3.195-dev.36ac8d2.202606301818",
4
4
  "description": "CodeBuddy Code SDK for JavaScript/TypeScript",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -31,6 +31,7 @@
31
31
  "zod": "^4.0.0"
32
32
  },
33
33
  "publishConfig": {
34
- "access": "public"
34
+ "access": "public",
35
+ "tag": "dev"
35
36
  }
36
37
  }