Aller au contenu
Toutes les versions

v0.5.9

Sortie le .

Paneflow 0.5.9

A review-workflow release. The Agents diff dock and the Review view now share one diff pipeline, the review loop becomes keyboard-first, and Review attribution can show which agent wrote a change with a local estimated token cost.

Highlights

  • Shared diff engine for Agents and Review. The Agents diff dock now renders through the same DiffElement, git pipeline, row model, syntax highlighting, collapse logic, and scroll behavior as the Review view. Visual and interaction fixes now land once across both surfaces.
  • Keyboard-first review loop. Review mode now supports hunk navigation, view toggles, sync toggles, dismissal, and act-on-hunk actions from the keyboard, while preserving normal keystrokes inside embedded terminals and text inputs.
  • Agent attribution with local cost estimates. Paneflow now aggregates per-session token usage from Claude Code, Codex, and OpenCode session files, then maps known models through a build-time pricing table. Unknown models show token counts without inventing cost.
  • Better AI thread titles. New Claude threads bind to a stable claude --session-id <uuid>, then adopt the session's polished ai-title after a turn finishes. Manual renames are respected and will not be overwritten.

Added

  • review_prefill_delay_ms, a configurable Review prompt prefill delay. It defaults to 2000 ms, is clamped between 250 and 10000, and is exposed in Settings > AI Agent > Review with a - / + stepper.
  • Review keyboard actions:
    • ] next hunk
    • [ previous hunk
    • u toggle unified/split view
    • s toggle cross-column scroll sync
    • Esc dismiss
    • a act on the focused hunk
  • Per-hunk act-on-hunk prompts. Paneflow pre-fills the review CLI with focused hunk context instead of auto-submitting.
  • Local model pricing data for Review attribution cost estimates.
  • Shared UI primitives for Review and Agents surfaces: tooltips, filter fields, empty states, pills, icon buttons, and type scale.

Changed

  • Replaced the old bespoke Agents diff renderer with the shared Review diff stack.
  • Split the large diff implementation into focused modules for loading, scrolling, interaction, review-terminal behavior, attribution, and rendering.
  • Added HEAD-relative diff computation for the Agents dock, including support for unborn repositories by diffing against Git's empty tree.
  • Improved file headers in the diff view with typed segments: status sigil, directory prefix, basename, and right-aligned diffstat.
  • Added per-file sidebar actions for collapse and copy in Review.
  • New Claude chat threads now keep a stable session id across restarts, so the sidebar can map them back to their exact on-disk session file.
  • Manual thread or chat renames now lock the title against OSC updates and ai-title backfills.
  • README and repo metadata were updated to reflect shipped Windows support, the flow engine, CLI, and cost tracking.

Full changelog

v0.5.8...v0.5.9