Skip to content

Print messageId (UUID) for assistant messages #13

@shellicar

Description

@shellicar

Print the Claude Code internal UUID (msg.uuid) for each assistant message, enabling self-service /compact-at recovery without needing external tooling.

  • On startup (session resume): display last messageId: <uuid> so the most recent assistant UUID is immediately visible
  • During message streaming: display messageId: <uuid> before each assistant message's content
  • UUID is loaded from audit file tail on resume via UsageTracker.lastAssistant
  • UUID is tracked live via onMessage for runtime updates

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions