Skip to content

[Feature]: Issues with Streaming Update in e2b when using opencode: mixed messages and non-real streaming output #227

Description

@shitianfang

Feature Description

When using opencode on e2b, I encountered two issues:

Not every message can be updated through update

The output shows some Messages, but it is mixed with other outputs (for example: logs like INFO ... service=session ... type=reasoning-delta).

Streaming output is not truly streaming

Currently, the output only returns after a whole line of content is finished executing, instead of returning each character (or chunk) in real time.

Do you have any ideas or solutions for this? I am eager to resolve it as soon as possible.

I would like to have clearly typed outputs for each message, so I can update the UI more effectively and present them in different blocks.

I see that vibe0 has similar functions. Does this only support claude code?

vibeKit.on("update", (message) => {
            console.log('【Streaming update】', message);
})
Image Image Image

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions