Skip to content

v0.27.6

Choose a tag to compare

@github-actions github-actions released this 26 Sep 18:01
· 459 commits to main since this release
4ca0e30

[0.27.6] - 2026-09-27

Added

  • ! shell commands complete from project history: typing !git s ranks recent
    commands with Jev and lists the completions above the composer. Tab (or Enter on
    a row that differs from what was typed) fills the highlighted command; a single
    literal prefix match needs no judgement call. Requires TYPESAFE_API_KEY; without
    a judge the picker stays closed, and PHI_OPTIMIZER=off disables the
    feature even with a key configured.
  • internal/optimizer/suggest: history-based command completion with prefix
    filtering and Jev candidate ranking plus a separate completion-confidence
    judgement. A single prefix match skips the model call; fuzzy suggestions must
    pass confidence thresholds, and only the rows above the minimum score are listed.
  • User ! shell commands now share persistent history across sessions in the same
    project, including start time, working directory, and known exit status.
    Failed and canceled attempts are recorded; history write failures show a warning.

Changed

Deprecated

Removed

Fixed

  • The compaction threshold is checked before every request, not only when a turn
    ends. A turn that keeps calling tools could grow past the configured
    context_window while it ran: the next check happened after the model stopped
    calling tools, and overflow recovery needed the provider to reject the request
    first. The pre-request check sizes the context from the last reported usage
    plus an estimate of everything appended since, so a long turn is summarized
    before the next request goes out rather than after the window is already
    exceeded.

  • Compaction summaries say that they are summaries. They re-entered the context
    as plain user messages, so retired instructions inside one — a constraint from
    an earlier turn, the summarizer's own next steps — read to the model as a fresh
    request. They now arrive with a "the conversation history before this point was
    compacted" lead-in and a <summary> wrapper.

  • Compaction summaries list the files touched by the turn the cut lands in. A
    mid-turn cut summarizes the turn prefix, but its file operations were never
    collected, so the handoff summary reported edited files as read-only (or
    omitted them) and the resumed session could re-read or overwrite that work.
    Read lists are deduplicated too, and the file block follows the summary after
    a single blank line instead of two.

  • @ file search on Windows under MSYS2/Git Bash no longer inserts absolute
    paths: fd prints forward slashes there while the cwd keeps backslashes, so
    the root prefix is now normalized (and compared case-insensitively) before it
    is stripped.

Security