refactor: emit helper and shared citationUrls in cloud chat transport
runLLMStream destructures its params in the signature, a local emit() replaces nine hand-rolled SSE data-frame writes, the single-caller flushVisibleTail folds into flushText, and citationUrls() moves to citations.ts so both transports share the URL-extraction flatMap. Public surface unchanged. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QUsMXzBsEJ27DjJVPSfW5o
| Repository | eliziff/Beaver |
|---|---|
| Author | Eli Ziff <eliasziff@gmail.com> |
| Authored | |
| Parents | 0dbe0bfe |
| Stats | 2 files changed , +62 , -99 |
| Part of | Chat backend features and prompt/context-budget management |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-dc1c3f46.md
from inside the repo you want the change in.