Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jan 3, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@opencode-vibe/core@0.4.0

Minor Changes

  • c835050 Thanks @joelhooks! - refactor(core): unify SSE streaming into merged-stream

    ╔═══════════════════════════════════════════════════════════╗
    ║                                                           ║
    ║     🌊  STREAM UNIFICATION  🌊                            ║
    ║                                                           ║
    ║         sse-bridge.ts    ┐                                ║
    ║                          │                                ║
    ║         merged-stream.ts ├──►  merged-stream.ts           ║
    ║                          │       (unified)                ║
    ║         stream.ts        ┘                                ║
    ║                                                           ║
    ║     THREE FLOWS → ONE ELEGANT STREAM                      ║
    ║                                                           ║
    ╚═══════════════════════════════════════════════════════════╝
    

    "If you find the same pattern of code repeated over and over,
    see if you can reorganize the code to eliminate the repetition.
    One approach is to factor the repeated code into a new function."
    — John Ousterhout, A Philosophy of Software Design

    Refactoring Summary:

    • DELETED sse-bridge.ts - merged functionality into merged-stream.ts
    • DRYed SSE event handling logic (was duplicated across 3 files)
    • Simplified stream.ts via delegation to unified merged-stream
    • Added comprehensive tests for discovery, world stream, and watch command
    • Improved CLI output formatting with better throttling

    Files Changed:

    Core Package:

    • packages/core/src/world/merged-stream.ts - unified SSE handling
    • packages/core/src/world/stream.ts - simplified via delegation
    • packages/core/src/world/sse-bridge.ts - DELETED
    • packages/core/src/discovery/discovery.test.ts - added tests
    • packages/core/src/types/domain.ts - type updates

    Swarm CLI:

    • apps/swarm-cli/src/commands/watch.ts - improved throttling
    • apps/swarm-cli/src/output.ts - better formatting
    • apps/swarm-cli/STREAMING_EXAMPLE.md - updated docs

    Breaking Changes: None - external API unchanged.

@opencode-vibe/react@0.4.1

Patch Changes

  • Updated dependencies [c835050]:
    • @opencode-vibe/core@0.4.0

@opencode-vibe/swarm-cli@0.2.1

Patch Changes

  • Updated dependencies [c835050]:
    • @opencode-vibe/core@0.4.0

@github-actions github-actions bot force-pushed the changeset-release/main branch from 5505749 to 798b92f Compare January 3, 2026 22:27
@coderabbitai
Copy link

coderabbitai bot commented Jan 3, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot changed the title release: improve sse streaming with unified merged-stream release: refactor core sse streaming into unified merged-stream Jan 3, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from 798b92f to 4f9e8f3 Compare January 3, 2026 23:01
@github-actions github-actions bot changed the title release: refactor core sse streaming into unified merged-stream release: refactor core SSE streaming into unified module Jan 3, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from 4f9e8f3 to 563d986 Compare January 3, 2026 23:11
@github-actions github-actions bot changed the title release: refactor core SSE streaming into unified module release: unify SSE streaming into merged-stream Jan 4, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from 563d986 to a77c1a6 Compare January 4, 2026 00:46
@github-actions github-actions bot changed the title release: unify SSE streaming into merged-stream release: refactor core SSE streaming into unified handler Jan 4, 2026
@github-actions github-actions bot force-pushed the changeset-release/main branch from a77c1a6 to d443ff4 Compare January 4, 2026 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant