|
|
@@ -650,6 +650,7 @@ public class ReportCollectService {
|
|
|
parts.add(part);
|
|
|
Map<String, Object> body = new LinkedHashMap<>();
|
|
|
body.put("parts", parts);
|
|
|
+ body.put("agent", "report-collect");
|
|
|
// 只读约束:仅允许分析/读取,禁用执行/写入类工具(与本地运营脚本对齐)
|
|
|
Map<String, Object> tools = new LinkedHashMap<>();
|
|
|
for (String t : new String[]{"bash", "shell", "write", "edit", "apply_patch",
|