Skip to content

feat(plugin): Enhanced Server-Sent Events (SSE) Response Parser #516

Description

@davinder-sudo

Summary

Add a plugin that provides a structured viewer for Server-Sent Events (SSE) responses.

Instead of displaying raw streaming text, the plugin should parse and present events in a readable format.

Problem

Raw SSE responses can be difficult to read, especially when debugging long-running streaming APIs.

Proposed Solution

Automatically detect text/event-stream responses and render them as structured events.

Features

  • Parse SSE events
  • Display event type
  • Show timestamps
  • Pretty-print JSON payloads
  • Pause/resume stream
  • Search streamed events
  • Export event logs
  • Auto-scroll toggle

Example

Current

event: message
data: {"status":"running"}

event: message
data: {"status":"completed"}

Improved

✔ running

✔ completed

Benefits

  • Easier debugging
  • Better developer experience
  • Improved support for streaming APIs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions