@tencent-ai/codebuddy-code 2.117.2 → 2.118.1-dev.e863ce9.202607091912

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/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.e863ce9.202607091912",
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:29:33.353Z"
830
+ "commit": "e863ce92c4b5c836aeea33690ea861675462b4e8",
831
+ "date": "2026-07-09T11:11:55.695Z"
832
832
  }
@@ -781,6 +781,6 @@
781
781
  }
782
782
  }
783
783
  },
784
- "commit": "df0af0179d41d0c80e46665005762d7234cd1d70",
785
- "date": "2026-07-07T16:29:33.319Z"
784
+ "commit": "e863ce92c4b5c836aeea33690ea861675462b4e8",
785
+ "date": "2026-07-09T11:11:55.695Z"
786
786
  }
package/product.ioa.json CHANGED
@@ -1189,6 +1189,6 @@
1189
1189
  }
1190
1190
  }
1191
1191
  },
1192
- "commit": "df0af0179d41d0c80e46665005762d7234cd1d70",
1193
- "date": "2026-07-07T16:29:33.264Z"
1192
+ "commit": "e863ce92c4b5c836aeea33690ea861675462b4e8",
1193
+ "date": "2026-07-09T11:11:55.695Z"
1194
1194
  }
package/product.json CHANGED
@@ -1765,6 +1765,6 @@
1765
1765
  "deferLoading": true
1766
1766
  }
1767
1767
  ],
1768
- "commit": "df0af0179d41d0c80e46665005762d7234cd1d70",
1769
- "date": "2026-07-07T16:29:33.258Z"
1768
+ "commit": "e863ce92c4b5c836aeea33690ea861675462b4e8",
1769
+ "date": "2026-07-09T11:11:55.699Z"
1770
1770
  }
@@ -342,6 +342,6 @@
342
342
  "ScheduledTasks": true,
343
343
  "SkipToolCallSupportCheck": true
344
344
  },
345
- "commit": "df0af0179d41d0c80e46665005762d7234cd1d70",
346
- "date": "2026-07-07T16:29:33.286Z"
345
+ "commit": "e863ce92c4b5c836aeea33690ea861675462b4e8",
346
+ "date": "2026-07-09T11:11:55.696Z"
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/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