Added
-
Auto-retry on transient errors: Automatically retries requests when providers return overloaded, rate limit, or server errors (429, 500, 502, 503, 504). Uses exponential backoff (2s, 4s, 8s). Shows retry status in TUI with option to cancel via Escape. Configurable in
settings.jsonviaretry.enabled,retry.maxRetries,retry.baseDelayMs. RPC mode emitsauto_retry_startandauto_retry_endevents. (#157) -
HTML export line numbers: Read tool calls in HTML exports now display line number ranges (e.g.,
file.txt:10-20) when offset/limit parameters are used, matching the TUI display format. Line numbers appear in yellow color for better visibility. (#166)
Fixed
-
Branch selector now works with single message: Previously the branch selector would not open when there was only one user message. Now it correctly allows branching from any message, including the first one. This is needed for checkpoint hooks to restore state from before the first message. (#163)
-
In-memory branching for
--no-sessionmode: Branching now works correctly in--no-sessionmode without creating any session files. The conversation is truncated in memory. -
Git branch indicator now works in subdirectories: The footer's git branch detection now walks up the directory hierarchy to find the git root, so it works when running pi from a subdirectory of a repository. (#156)