Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

polish(community): label the bot msg count 'Handled N msgs'

Shellyd6ca51ae8464
diff --git a/src/web/src/components/community/bots/bot-list.tsx b/src/web/src/components/community/bots/bot-list.tsx
index 0eb755994..50ac31ac8 100644
--- a/src/web/src/components/community/bots/bot-list.tsx
+++ b/src/web/src/components/community/bots/bot-list.tsx
@@ -294,7 +294,7 @@ export function BotList({ onBack }: { onBack?: () => void } = {}) {
</>
)}
<span aria-hidden className="shrink-0">·</span>
- <span className="shrink-0">{bot.handledMessageCount} msgs</span>
+ <span className="shrink-0">Handled {bot.handledMessageCount} msgs</span>
</span>
</div>
</div>
diff --git a/src/web/src/hooks/community/use-bots.ts b/src/web/src/hooks/community/use-bots.ts
index d755594b8..3ad653d1f 100644
--- a/src/web/src/hooks/community/use-bots.ts
+++ b/src/web/src/hooks/community/use-bots.ts
@@ -15,7 +15,9 @@ export type BotSummary = {
// Context lifecycle (my-bots #516/#531): when the agent last refreshed its
// context (nap OR session reset — both "refresh context"), ISO string, null
// if it never has; and how many messages it's handled in the CURRENT lifecycle
- // (reset/nap zero it). Rendered as "Refreshed X ago · N msgs".
+ // (reset/nap zero it) — the field is post-gate "handled" count (excludes
+ // deleted-sender / parse-failed), so it's labeled "Handled N msgs" (Gus #582),
+ // NOT "received". Rendered as "Refreshed X ago · Handled N msgs".
lastRefreshContextAt: string | null
handledMessageCount: number
}