checkpoint: track complete

This commit is contained in:
2026-03-18 18:39:54 -04:00
parent 0474df5958
commit 8ee8862ae8
7 changed files with 194 additions and 117 deletions

View File

@@ -253,7 +253,7 @@ class HookHandler(BaseHTTPRequestHandler):
self.end_headers()
files = _get_app_attr(app, "files", [])
screenshots = _get_app_attr(app, "screenshots", [])
self.wfile.write(json.dumps({"files": files, "screenshots": screenshots}).encode("utf-8"))
self.wfile.write(json.dumps({"files": _serialize_for_api(files), "screenshots": _serialize_for_api(screenshots)}).encode("utf-8"))
elif self.path == "/api/metrics/financial":
self.send_response(200)
self.send_header("Content-Type", "application/json")