Skip to content

v2.4.0

Choose a tag to compare

@dnouri dnouri released this 27 May 21:59
· 73 commits to master since this release

2.4.0

Features

  • Safer compaction and queued input — Emacs now follows Pi’s current compaction_start / compaction_end protocol, renders manual compaction completion once, preserves queued text when compaction fails, and keeps follow-up prompts behind Pi’s automatic retry instead of letting them overtake it; thanks @nicabarnimble (#213)
  • Session resume uses Pi’s actual session file — Resume now starts from the sessionFile reported by get_state, so custom PI_CODING_AGENT_DIR setups and sessions outside ~/.pi/agent/sessions work correctly; thanks @yurikhan for the report (#206, fixes #205)

Compatibility

  • Current Pi CLI baseline — The supported Pi CLI is now @earendil-works/pi-coding-agent 0.75.5 or later, with real integration CI aligned to that runtime (#213)

Fixes

  • Prompt recovery around backend edges — If Pi exits while a prompt is being handed over, the prompt is restored to the input buffer; stale idle state replies and JSON false failure cases are handled correctly (#213)
  • Cleaner resume picker — If cached state has no session file yet, Emacs refreshes get_state before listing sessions and filters out sibling JSONL files that are not Pi sessions (#206)
  • No hardcoded /bin/bash — Helper scripts and Makefile now resolve bash through the environment/PATH for better portability; thanks @broughjt (#204)