Skip to content

The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu

Fix retentionCell to also check content.truncated for truncation badge

Cursor Agent3a01667f50df
diff --git a/cli/beacon/internal/endpoint/dashboard/static/app.js b/cli/beacon/internal/endpoint/dashboard/static/app.js
index 3f52de68..2e25cf18 100644
--- a/cli/beacon/internal/endpoint/dashboard/static/app.js
+++ b/cli/beacon/internal/endpoint/dashboard/static/app.js
@@ -454,7 +454,7 @@ function retentionCell(record) {
const event = record.event || {};
const labels = [];
if (event.content?.retention) labels.push(badge(event.content.retention, "badge-muted"));
- if (event.field_truncated) labels.push(badge("truncated", "badge-warn"));
+ if (event.field_truncated || event.content?.truncated) labels.push(badge("truncated", "badge-warn"));
if (event.content?.redacted) labels.push(badge("redacted", "badge-warn"));
return labels.join(" ") || badge("default", "badge-muted");
}