github can1357/oh-my-pi v15.12.1

latest releases: v15.12.3, v15.12.2
5 hours ago

@oh-my-pi/pi-agent-core

Breaking Changes

  • Changed pruneSupersededToolResults to allow supersedeKey to be omitted so useless-result pruning can run without read-style supersede grouping

Added

  • Added pruneUseless controls to PruneConfig and SupersedePruneConfig so callers can toggle compaction of toolResult entries marked useless
  • Added the ability to disable useless-result pruning by setting pruneUseless to false
  • Tools can flag a result contextually useless (AgentToolResult.useless; overridable via AfterToolCallResult.useless): the agent loop copies the flag onto the persisted ToolResultMessage (errors always win), and compaction consumes it — the cache-aware supersede pass and the threshold prune blank flagged results to the exact USELESS_NOTICE placeholder (bypassing the protect window, skipping results smaller than the notice), shake collects them inside the protect-recent window, and serializeConversation drops the whole tool call/result pair from summarizer input

Changed

  • Changed pruneSupersededToolResults to allow omitted supersedeKey when pruneUseless is enabled, so useless-result pruning can run without read-style supersede grouping

@oh-my-pi/pi-ai

Added

  • Added the optional ToolResultMessage.useless flag: tools can declare a finished result contextually useless (zero matches, elapsed wait) so compaction passes may elide it once consumed. Never serialized to provider wire formats and never set together with isError.

@oh-my-pi/pi-coding-agent

Added

  • Added the compaction.dropUseless setting (default on): tool results flagged contextually useless are elided by the per-turn cache-aware prune pass and the pre-compaction threshold prune, replaced with [Uneventful result elided]. Built-in tools flag their uneventful outcomes — zero-match/zero-result search/find/ast_grep/recall (warnings included; the follow-up call has already corrected course), empty LSP lookups, job polls where everything is still running (plus nothing-to-wait-for and unknown-id polls), irc wait timeouts and empty inbox drains, and zero-result github searches / run-watch give-ups

Fixed

  • Restored the default double-Esc behavior to open the editable message-history selector instead of /tree so pressing Esc twice can edit a previous message again (#2396).

@oh-my-pi/snapcompact

Changed

  • serializeConversation now skips tool call/result pairs whose result is flagged contextually useless (useless: true, non-error), so archived frames stop carrying zero-match searches and timed-out waits

What's Changed

  • fix(tui): restore double-Esc message history by @roboomp in #2397

Full Changelog: v15.12.0...v15.12.1

Don't miss a new oh-my-pi release

NewReleases is sending notifications on new releases.