[PR #466] Add SSE response summary helpers #2636

Open
opened 2026-05-29 06:44:03 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/466
Author: @baofeidyz
Created: 5/22/2026
Status: 🔄 Open

Base: mainHead: main


📝 Commits (3)

  • f6d78b9 Add SSE response summary helpers
  • ce1dacb Merge branch 'mountain-loop:main' into main
  • 0fc4da7 Fix SSE summary custom input and copy

📊 Changes

7 files changed (+531 additions, -37 deletions)

View changed files

📝 apps/yaak-client/components/responseViewers/EventStreamViewer.tsx (+191 -32)
📝 apps/yaak-client/hooks/useResponseBodyEventSource.ts (+6 -1)
apps/yaak-client/hooks/useResponseBodySseSummary.ts (+18 -0)
apps/yaak-client/hooks/useSseSummaryResultKeyPath.ts (+64 -0)
📝 apps/yaak-client/lib/responseBody.ts (+32 -4)
📝 crates/yaak-sse/index.ts (+1 -0)
crates/yaak-sse/summary.ts (+219 -0)

📄 Description

Summary

  • Add SSE response summary controls and rendering for event streams
  • Move reusable SSE summary parsing helpers into @yaakapp-internal/sse
  • Support built-in provider paths and custom result key paths without changing raw/event inspection behavior

Attribution

  • All changes in this pull request were produced by Codex using GPT-5.5.

Verification

  • npm run -w @yaakapp/yaak-client lint
  • npm exec -- vp check --fix apps/yaak-client/components/responseViewers/EventStreamViewer.tsx apps/yaak-client/hooks/useSseSummaryResultKeyPath.ts
  • Built local macOS app bundle with npm run client:build -- --bundles app

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mountain-loop/yaak/pull/466 **Author:** [@baofeidyz](https://github.com/baofeidyz) **Created:** 5/22/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`f6d78b9`](https://github.com/mountain-loop/yaak/commit/f6d78b971fec954039057f5cacac40359b4d7be9) Add SSE response summary helpers - [`ce1dacb`](https://github.com/mountain-loop/yaak/commit/ce1dacb4ec5f1d5f8866b66d6ae3caa4ca7f3cef) Merge branch 'mountain-loop:main' into main - [`0fc4da7`](https://github.com/mountain-loop/yaak/commit/0fc4da7bc4044ce71b30aeb294a22d1cfc02acf6) Fix SSE summary custom input and copy ### 📊 Changes **7 files changed** (+531 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `apps/yaak-client/components/responseViewers/EventStreamViewer.tsx` (+191 -32) 📝 `apps/yaak-client/hooks/useResponseBodyEventSource.ts` (+6 -1) ➕ `apps/yaak-client/hooks/useResponseBodySseSummary.ts` (+18 -0) ➕ `apps/yaak-client/hooks/useSseSummaryResultKeyPath.ts` (+64 -0) 📝 `apps/yaak-client/lib/responseBody.ts` (+32 -4) 📝 `crates/yaak-sse/index.ts` (+1 -0) ➕ `crates/yaak-sse/summary.ts` (+219 -0) </details> ### 📄 Description ## Summary - Add SSE response summary controls and rendering for event streams - Move reusable SSE summary parsing helpers into `@yaakapp-internal/sse` - Support built-in provider paths and custom result key paths without changing raw/event inspection behavior ## Attribution - All changes in this pull request were produced by Codex using GPT-5.5. ## Verification - `npm run -w @yaakapp/yaak-client lint` - `npm exec -- vp check --fix apps/yaak-client/components/responseViewers/EventStreamViewer.tsx apps/yaak-client/hooks/useSseSummaryResultKeyPath.ts` - Built local macOS app bundle with `npm run client:build -- --bundles app` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-29 06:44:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/yaak#2636