@tencent-ai/codebuddy-code 2.137.1-dev.4179feb.202608191252 → 2.137.1-dev.9da3753.202608211541
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 +56 -56
- package/dist/codebuddy.js +94 -94
- 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.137.1-dev.
|
|
3
|
+
"version": "2.137.1-dev.9da3753.202608211541",
|
|
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
|
@@ -816,6 +816,6 @@
|
|
|
816
816
|
"SelectImage": true,
|
|
817
817
|
"SkipToolCallSupportCheck": true
|
|
818
818
|
},
|
|
819
|
-
"commit": "
|
|
820
|
-
"date": "2026-08-
|
|
819
|
+
"commit": "9da3753c0a1c9b0fff70f3dd45ad87a1db8bdf8a",
|
|
820
|
+
"date": "2026-08-21T07:40:21.001Z"
|
|
821
821
|
}
|
package/product.internal.json
CHANGED
package/product.ioa.json
CHANGED
package/product.json
CHANGED
|
@@ -1824,6 +1824,6 @@
|
|
|
1824
1824
|
"description": "tool-repl-description"
|
|
1825
1825
|
}
|
|
1826
1826
|
],
|
|
1827
|
-
"commit": "
|
|
1828
|
-
"date": "2026-08-
|
|
1827
|
+
"commit": "9da3753c0a1c9b0fff70f3dd45ad87a1db8bdf8a",
|
|
1828
|
+
"date": "2026-08-21T07:40:21.011Z"
|
|
1829
1829
|
}
|
package/product.selfhosted.json
CHANGED
|
@@ -353,6 +353,6 @@
|
|
|
353
353
|
"ScheduledTasks": true,
|
|
354
354
|
"SkipToolCallSupportCheck": true
|
|
355
355
|
},
|
|
356
|
-
"commit": "
|
|
357
|
-
"date": "2026-08-
|
|
356
|
+
"commit": "9da3753c0a1c9b0fff70f3dd45ad87a1db8bdf8a",
|
|
357
|
+
"date": "2026-08-21T07:40:20.980Z"
|
|
358
358
|
}
|
|
@@ -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
|
|