Skip to content

help wanted: streaming output for gitquill release #3

Description

@Cryptoteep

What

When generating release notes over a large commit range, the user stares at a spinner for several seconds before anything appears. Streaming the model output would make the CLI feel dramatically faster.

Why

Local models (the privacy-first default) are slow token-by-token but fine streamed. Long release notes (100+ commits) currently wait for the full completion before printing.

Proposal

  • Add a stream: true path in src/lib/ai.ts that yields chunks via an async generator.
  • src/commands/release.ts should print tokens as they arrive (unless --out is set, in which case buffer and write at the end).
  • Gate behind a --stream flag initially so we can ship safely.

Non-goals

  • Don't change the non-streaming path — it's the reliable fallback.

Stretch

  • Show a subtle token/s rate in --verbose.

Happy to pair on the implementation. 💬

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions