feat: expand node artifact operations and retention

This commit is contained in:
lpf
2026-03-09 10:46:22 +08:00
parent be2e025fe5
commit ba3be33c91
22 changed files with 2724 additions and 151 deletions

View File

@@ -150,6 +150,9 @@ func (t *NodesTool) writeAudit(req nodes.Request, resp nodes.Response, mode stri
"error": resp.Error,
"duration_ms": durationMs,
}
if len(req.Args) > 0 {
row["request_args"] = req.Args
}
if used, _ := resp.Payload["used_transport"].(string); strings.TrimSpace(used) != "" {
row["used_transport"] = strings.TrimSpace(used)
}