@tencent-ai/codebuddy-code 2.132.0-dev.93c8d58.202608181415 → 2.132.0-dev.9772d7b.202608221848
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/dist/codebuddy-headless.js +88 -83
- package/dist/codebuddy.js +121 -116
- package/package.json +1 -1
- package/product.cloudhosted.json +2 -2
- package/product.internal.json +2 -2
- package/product.ioa.json +2 -2
- package/product.json +2 -2
- package/product.selfhosted.json +2 -2
- package/vendor/shim/sitecustomize.py +25 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tencent-ai/codebuddy-code",
|
|
3
|
-
"version": "2.132.0-dev.
|
|
3
|
+
"version": "2.132.0-dev.9772d7b.202608221848",
|
|
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",
|
package/product.cloudhosted.json
CHANGED
|
@@ -836,6 +836,6 @@
|
|
|
836
836
|
"SelectImage": true,
|
|
837
837
|
"SkipToolCallSupportCheck": true
|
|
838
838
|
},
|
|
839
|
-
"commit": "
|
|
840
|
-
"date": "2026-08-
|
|
839
|
+
"commit": "9772d7b19c0a2585fc861c5bc47b62bf633cad79",
|
|
840
|
+
"date": "2026-08-22T10:47:01.817Z"
|
|
841
841
|
}
|
package/product.internal.json
CHANGED
package/product.ioa.json
CHANGED
package/product.json
CHANGED
|
@@ -1811,6 +1811,6 @@
|
|
|
1811
1811
|
"description": "tool-repl-description"
|
|
1812
1812
|
}
|
|
1813
1813
|
],
|
|
1814
|
-
"commit": "
|
|
1815
|
-
"date": "2026-08-
|
|
1814
|
+
"commit": "9772d7b19c0a2585fc861c5bc47b62bf633cad79",
|
|
1815
|
+
"date": "2026-08-22T10:47:01.728Z"
|
|
1816
1816
|
}
|
package/product.selfhosted.json
CHANGED
|
@@ -349,6 +349,6 @@
|
|
|
349
349
|
"ScheduledTasks": true,
|
|
350
350
|
"SkipToolCallSupportCheck": true
|
|
351
351
|
},
|
|
352
|
-
"commit": "
|
|
353
|
-
"date": "2026-08-
|
|
352
|
+
"commit": "9772d7b19c0a2585fc861c5bc47b62bf633cad79",
|
|
353
|
+
"date": "2026-08-22T10:47:01.695Z"
|
|
354
354
|
}
|
|
@@ -932,21 +932,24 @@ if _SESSION_ID:
|
|
|
932
932
|
except Exception:
|
|
933
933
|
return "unavailable"
|
|
934
934
|
|
|
935
|
+
def _emit_safe_delete_fail_closed(abs_path, reason, detail=None):
|
|
936
|
+
payload = {
|
|
937
|
+
"target": abs_path,
|
|
938
|
+
"reason": reason,
|
|
939
|
+
}
|
|
940
|
+
if detail:
|
|
941
|
+
payload["detail"] = detail
|
|
942
|
+
message = (
|
|
943
|
+
"[safe-delete][SAFE_DELETE_FAIL_CLOSED] "
|
|
944
|
+
+ json.dumps(payload, ensure_ascii=False)
|
|
945
|
+
)
|
|
946
|
+
try:
|
|
947
|
+
sys.stderr.write(message + "\n")
|
|
948
|
+
sys.stderr.flush()
|
|
949
|
+
except Exception:
|
|
950
|
+
pass
|
|
951
|
+
|
|
935
952
|
def _try_trash(abs_path, recursive=False, force=False):
|
|
936
|
-
if sys.platform == "win32" and _IN_SANDBOX:
|
|
937
|
-
message = (
|
|
938
|
-
"[safe-delete][SAFE_DELETE_FAIL_CLOSED] "
|
|
939
|
-
+ json.dumps({
|
|
940
|
-
"target": abs_path,
|
|
941
|
-
"reason": "windows-sandbox-recycle-bin-unavailable",
|
|
942
|
-
}, ensure_ascii=False)
|
|
943
|
-
)
|
|
944
|
-
try:
|
|
945
|
-
sys.stderr.write(message + "\n")
|
|
946
|
-
sys.stderr.flush()
|
|
947
|
-
except Exception:
|
|
948
|
-
pass
|
|
949
|
-
raise OSError(message)
|
|
950
953
|
_check_bulk_delete_guard(abs_path)
|
|
951
954
|
|
|
952
955
|
broker_result = _try_broker_delete(abs_path, recursive=recursive, force=force)
|
|
@@ -957,10 +960,14 @@ if _SESSION_ID:
|
|
|
957
960
|
"[safe-delete] broker denied delete: path=%s" % abs_path
|
|
958
961
|
)
|
|
959
962
|
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
963
|
+
try:
|
|
964
|
+
if _try_trash_via_binary(abs_path):
|
|
965
|
+
_record_trash(abs_path)
|
|
966
|
+
return True
|
|
967
|
+
_platform_trash(abs_path)
|
|
968
|
+
except Exception as e:
|
|
969
|
+
_emit_safe_delete_fail_closed(abs_path, "trash-failed", str(e))
|
|
970
|
+
raise
|
|
964
971
|
_record_trash(abs_path)
|
|
965
972
|
return True
|
|
966
973
|
|