feat: surface last_assistant_message from Stop/SubagentStop hook payloads #156

Closed
opened 2026-02-24 11:00:40 -08:00 by hikari · 0 comments
Owner

Summary

Claude CLI 2.1.47 added a last_assistant_message field to the Stop and SubagentStop hook event payloads.

Current behaviour

We parse Stop and SubagentStop hook events but do not extract or display last_assistant_message.

Desired behaviour

Extract last_assistant_message from these hook payloads and consider surfacing it — for example:

  • Show it as a brief summary when a subagent completes (in the agents panel or terminal)
  • Use it to update the agent's status display with the final response snippet

This would give users a quick at-a-glance view of what each agent concluded without having to scroll through the full transcript.

References

  • Claude CLI changelog 2.1.47

This issue was created with help from Hikari~ 🌸

## Summary Claude CLI 2.1.47 added a `last_assistant_message` field to the `Stop` and `SubagentStop` hook event payloads. ## Current behaviour We parse `Stop` and `SubagentStop` hook events but do not extract or display `last_assistant_message`. ## Desired behaviour Extract `last_assistant_message` from these hook payloads and consider surfacing it — for example: - Show it as a brief summary when a subagent completes (in the agents panel or terminal) - Use it to update the agent's status display with the final response snippet This would give users a quick at-a-glance view of what each agent concluded without having to scroll through the full transcript. ## References - Claude CLI changelog 2.1.47 ✨ This issue was created with help from Hikari~ 🌸
naomi closed this issue 2026-02-24 20:48:51 -08:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/hikari-desktop#156