Skip to content

[Bug] Tools render inline with prose instead of on new lines #101

@randomm

Description

@randomm

Problem

Tools are rendering inline with prose text instead of on separate lines:

most impactful  ones first.  ◇ bash  gh issue create --title "fix(db)...

Should be:

most impactful ones first.

◇ bash  gh issue create --title "fix(db)...

Cause

The Live Block tool rendering doesn't force a newline before tool output when prose text is still being streamed.

Files

  • packages/opencode/src/cli/lite/liveblock.ts
  • packages/opencode/src/cli/lite/index.ts

Acceptance Criteria

  • Tools always render on their own line
  • Newline inserted before tool if prose text precedes it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions