@tencent-ai/agent-sdk 0.3.203 → 0.3.205-dev.b6d6518.202607101321

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.117.2",
3
+ "version": "2.118.1-dev.b6d6518.202607101320",
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",
@@ -18,9 +18,9 @@
18
18
  "@lydell/node-pty-linux-x64": "1.2.0-beta.12",
19
19
  "@lydell/node-pty-win32-arm64": "1.2.0-beta.12",
20
20
  "@lydell/node-pty-win32-x64": "1.2.0-beta.12",
21
- "@tencent-ai/sandbox-cli-darwin-arm64": "5.3.0-beta.3",
22
- "@tencent-ai/sandbox-cli-darwin-x64": "5.3.0-beta.3",
23
- "@tencent-ai/sandbox-cli-win32-x64": "5.3.0-beta.3"
21
+ "@tencent-ai/sandbox-cli-darwin-arm64": "5.3.0-beta.5",
22
+ "@tencent-ai/sandbox-cli-darwin-x64": "5.3.0-beta.5",
23
+ "@tencent-ai/sandbox-cli-win32-x64": "5.3.0-beta.5"
24
24
  },
25
25
  "keywords": [
26
26
  "codebuddy",
@@ -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": {}
@@ -827,6 +827,6 @@
827
827
  "SelectImage": true,
828
828
  "SkipToolCallSupportCheck": true
829
829
  },
830
- "commit": "df0af0179d41d0c80e46665005762d7234cd1d70",
831
- "date": "2026-07-07T16:18:56.491Z"
830
+ "commit": "b6d651826e03dc8f8f339e93c5bc42592c5efd15",
831
+ "date": "2026-07-10T05:19:54.638Z"
832
832
  }
@@ -781,6 +781,6 @@
781
781
  }
782
782
  }
783
783
  },
784
- "commit": "df0af0179d41d0c80e46665005762d7234cd1d70",
785
- "date": "2026-07-07T16:18:56.484Z"
784
+ "commit": "b6d651826e03dc8f8f339e93c5bc42592c5efd15",
785
+ "date": "2026-07-10T05:19:54.638Z"
786
786
  }
@@ -1189,6 +1189,6 @@
1189
1189
  }
1190
1190
  }
1191
1191
  },
1192
- "commit": "df0af0179d41d0c80e46665005762d7234cd1d70",
1193
- "date": "2026-07-07T16:18:56.484Z"
1192
+ "commit": "b6d651826e03dc8f8f339e93c5bc42592c5efd15",
1193
+ "date": "2026-07-10T05:19:54.639Z"
1194
1194
  }
package/cli/product.json CHANGED
@@ -1765,6 +1765,6 @@
1765
1765
  "deferLoading": true
1766
1766
  }
1767
1767
  ],
1768
- "commit": "df0af0179d41d0c80e46665005762d7234cd1d70",
1769
- "date": "2026-07-07T16:18:56.495Z"
1768
+ "commit": "b6d651826e03dc8f8f339e93c5bc42592c5efd15",
1769
+ "date": "2026-07-10T05:19:54.656Z"
1770
1770
  }
@@ -342,6 +342,6 @@
342
342
  "ScheduledTasks": true,
343
343
  "SkipToolCallSupportCheck": true
344
344
  },
345
- "commit": "df0af0179d41d0c80e46665005762d7234cd1d70",
346
- "date": "2026-07-07T16:18:56.483Z"
345
+ "commit": "b6d651826e03dc8f8f339e93c5bc42592c5efd15",
346
+ "date": "2026-07-10T05:19:54.637Z"
347
347
  }
@@ -336,6 +336,7 @@ trash_windows() {
336
336
 
337
337
  trash_one() {
338
338
  local p="$1"
339
+ local native_failed=0
339
340
  # 转为绝对路径:genie-trash binary 拒绝相对路径
340
341
  # / 开头(Unix)或盘符开头(C:/... Windows)都视为绝对路径
341
342
  case "$p" in
@@ -355,9 +356,15 @@ trash_one() {
355
356
  return 0
356
357
  fi
357
358
  _safe_delete_diag "genie-trash failed: exit=$native_rc bin=$TRASH_BIN path=$p stderr=$(_safe_delete_one_line "$native_out")"
359
+ native_failed=1
358
360
  else
359
361
  _safe_delete_diag "genie-trash unavailable: bin-not-executable path=$TRASH_BIN"
360
362
  fi
363
+ # Windows 下 native helper 已存在但失败时,必须 fail-closed。
364
+ # 不能降级到 powershell COM 删除,否则会出现“回收站失败后仍被删除”的风险。
365
+ if [ "$GT_PLATFORM" = "win32" ] && [ $native_failed -eq 1 ]; then
366
+ return 1
367
+ fi
361
368
  # ---- 降级:当前平台实现 ----
362
369
  case "$OS" in
363
370
  Darwin) trash_darwin "$p" ;;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencent-ai/agent-sdk",
3
- "version": "0.3.203",
3
+ "version": "0.3.205-dev.b6d6518.202607101321",
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
  }