feat: surface last_assistant_message from SubagentStop hook payloads

Extracts last_assistant_message from SubagentStop hook events and
surfaces it in the agent monitor panel as a summary snippet below
each completed agent card.

Closes #156
This commit is contained in:
2026-02-24 18:26:12 -08:00
committed by Naomi Carrigan
parent 5063a4f415
commit 1fe39bbbc1
7 changed files with 164 additions and 14 deletions
@@ -318,6 +318,16 @@
<span class="text-[10px] text-red-400">Errored / Killed</span>
{/if}
</div>
<!-- Last assistant message snippet -->
{#if agent.lastAssistantMessage}
<p
class="mt-1 text-[10px] text-[var(--text-secondary)] italic truncate"
title={agent.lastAssistantMessage}
>
{agent.lastAssistantMessage}
</p>
{/if}
</div>
{/each}
{/if}